fixup! Update ci workflow to work with forgejo
Some checks failed
CI / build (push) Failing after 37s

This commit is contained in:
Fabian Hauser 2024-09-27 15:15:59 +03:00
parent 5efb3d0a4b
commit 108a8dce66

View file

@ -13,7 +13,9 @@ concurrency:
jobs: jobs:
build: build:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
container: nixpkgs/nix-flakes:nixos-24.05
steps: steps:
- run: nix profile install nixpkgs#nodejs nixpkgs#git nixpkgs#git-lfs
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
persist-credentials: 'true' # Optional; should be the default 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 config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
git lfs pull git lfs pull
- name: Run Nix Build - name: Run Nix Build
uses: docker://hub.docker.com/nixpkgs/nix-flakes:nixos-24.05
run: nix build . run: nix build .
# - uses: actions/upload-pages-artifact@v3 # - uses: actions/upload-pages-artifact@v3
# with: # with: