Use git clone instead of checkout action (no Node.js required)
This commit is contained in:
parent
cf9bb358a3
commit
9dec1c770d
2 changed files with 10 additions and 5 deletions
|
|
@ -32,7 +32,8 @@ jobs:
|
|||
run: apk add --no-cache openssh-client curl git
|
||||
|
||||
- name: Checkout code
|
||||
uses: https://code.forgejo.org/actions/checkout@v4
|
||||
run: |
|
||||
git clone --depth 1 --branch ${GITHUB_REF_NAME:-main} https://qbit.realms.pub/${GITHUB_REPOSITORY}.git .
|
||||
|
||||
- name: Setup SSH key
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue