ajustes novos
This commit is contained in:
parent
a778c3216f
commit
99193d8dff
1 changed files with 17 additions and 2 deletions
|
|
@ -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 .
|
||||
|
|
|
|||
Loading…
Reference in a new issue