From 108a8dce66ba8664a0b6d7290854525e6492a131 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..276447b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,9 @@ concurrency: jobs: build: runs-on: ubuntu-22.04 + container: nixpkgs/nix-flakes:nixos-24.05 steps: + - run: nix profile install nixpkgs#nodejs nixpkgs#git nixpkgs#git-lfs - uses: actions/checkout@v4 with: persist-credentials: 'true' # Optional; should be the default @@ -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: