fixup! Update ci workflow to work with forgejo
All checks were successful
CI / build (push) Successful in 50s
All checks were successful
CI / build (push) Successful in 50s
This commit is contained in:
parent
de77ce8c6e
commit
2d158ad0c2
1 changed files with 3 additions and 2 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -25,10 +25,11 @@ jobs:
|
|||
shell: "nix shell nixpkgs#git-lfs nixpkgs#gnused --command {0}"
|
||||
run: |
|
||||
git config --global credential.helper store
|
||||
git config --global advice.detachedHead false
|
||||
git lfs install
|
||||
AUTH_URL=`echo -n "$GITHUB_SERVER_URL" | sed "s%https://%https://oauth2:$GITHUB_TOKEN@%"`
|
||||
git clone --no-checkout $AUTH_URL/$GITHUB_REPOSITORY .
|
||||
git checkout --recurse-submodules $GITHUB_REF
|
||||
git clone --recurse-submodules $AUTH_URL/$GITHUB_REPOSITORY .
|
||||
git checkout --branch $GITHUB_REF_NAME --recurse-submodules $GITHUB_REF
|
||||
git lfs pull
|
||||
- name: Run Nix Build
|
||||
shell: "nix shell nixpkgs#git-lfs --command {0}"
|
||||
|
|
Loading…
Add table
Reference in a new issue