Update .gitea/workflows/push.yaml
Some checks failed
Push Workflows / test (push) Has been cancelled
Push Workflows / nix-build (push) Failing after 20s
Push Workflows / leptos-test (push) Has been cancelled
Push Workflows / docs (push) Has been cancelled
Push Workflows / env (push) Has been cancelled
Push Workflows / docker-build (push) Has been cancelled
Push Workflows / build (push) Has been cancelled

This commit is contained in:
Ethan Girouard 2024-12-19 18:54:38 +00:00
parent 8f61260946
commit 4e979bac07

View File

@ -85,8 +85,10 @@ jobs:
nix-build: nix-build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: DeterminateSystems/nix-installer-action@main - name: Install Nix
- uses: DeterminateSystems/magic-nix-cache-action@main run: apt install -y nix-bin
- name: Restore and cache Nix store
uses: nix-community/cache-nix-action@v5
- name: Build project with Nix - name: Build project with Nix
run: nix build --experimental-features 'nix-command flakes' git+$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git?ref=$GITHUB_REF_NAME#default --no-write-lock-file run: nix build --experimental-features 'nix-command flakes' git+$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git?ref=$GITHUB_REF_NAME#default --no-write-lock-file