From 0b5b561e1eca5bd38c0c22e8c59c86af300f23f9 Mon Sep 17 00:00:00 2001 From: Fabian Hauser Date: Fri, 27 Sep 2024 15:15:59 +0300 Subject: [PATCH] fixup! Update ci workflow to work with forgejo --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 591d0a7..eb574fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: