Update .forgejo/workflows/build.yaml
Some checks failed
Image Build / Prepare to Build (push) Failing after 3s
Some checks failed
Image Build / Prepare to Build (push) Failing after 3s
This commit is contained in:
parent
79b3f805c5
commit
de6a7339d0
1 changed files with 3 additions and 7 deletions
|
@ -15,12 +15,8 @@ jobs:
|
|||
run: apt update && apt -y install sudo
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: https://github.com/cachix/install-nix-action@v27
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
# # Mostly to avoid GitHub rate limiting
|
||||
# extra_nix_config: |
|
||||
# access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
# # Note: this would only work if Cargo is included in the Nix shell
|
||||
uses: DeterminateSystems/nix-installer-action@v12
|
||||
- name: Run the Magic Nix Cache
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v7
|
||||
- name: Build release
|
||||
run: nix build .#container --impure
|
||||
|
|
Loading…
Reference in a new issue