ajustes novos

This commit is contained in:
Marcus 2026-01-31 14:53:02 -03:00
parent a778c3216f
commit 99193d8dff

View file

@ -21,7 +21,15 @@ jobs:
shell: sh
steps:
# SUBSTITUÍDO: checkout@v4 por Git manual para evitar erro de falta de Node.js
# PASSO NOVO: Instala Git (e Node se necessário no futuro)
- name: Install System Dependencies
run: |
if command -v apk >/dev/null 2>&1; then
apk add --no-cache git
elif command -v apt-get >/dev/null 2>&1; then
apt-get update && apt-get install -y git
fi
- name: Checkout code
run: |
git clone --depth 1 --branch dev https://${{ secrets.FORGEJO_TOKEN }}@pipe.gohorsejobs.com/${{ github.repository }}.git .
@ -64,7 +72,14 @@ jobs:
shell: sh
steps:
# SUBSTITUÍDO: checkout@v4 por Git manual
- name: Install System Dependencies
run: |
if command -v apk >/dev/null 2>&1; then
apk add --no-cache git wget
elif command -v apt-get >/dev/null 2>&1; then
apt-get update && apt-get install -y git wget
fi
- name: Checkout code
run: |
git clone --depth 1 --branch dev https://${{ secrets.FORGEJO_TOKEN }}@pipe.gohorsejobs.com/${{ github.repository }}.git .