fixup! Update ci workflow to work with forgejo
Some checks failed
CI / build (push) Failing after 3s
Some checks failed
CI / build (push) Failing after 3s
This commit is contained in:
parent
5efb3d0a4b
commit
0b5b561e1e
1 changed files with 2 additions and 1 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -13,11 +13,13 @@ concurrency:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
container: nixpkgs/nix-flakes:nixos-24.05
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: 'true' # Optional; should be the default
|
||||
- name: Checkout lfs
|
||||
shell: "nix shell nixpkgs#git-lfs --command {0}"
|
||||
run: |
|
||||
git lfs install --local
|
||||
AUTH=$(git config --local http.${{ github.server_url }}/.extraheader)
|
||||
|
@ -25,7 +27,6 @@ jobs:
|
|||
git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
||||
git lfs pull
|
||||
- name: Run Nix Build
|
||||
uses: docker://hub.docker.com/nixpkgs/nix-flakes:nixos-24.05
|
||||
run: nix build .
|
||||
# - uses: actions/upload-pages-artifact@v3
|
||||
# with:
|
||||
|
|
Loading…
Reference in a new issue