Replace magic-nix-cache-action (#2575)

This commit is contained in:
Hannes 2025-05-27 05:05:08 +08:00 committed by GitHub
parent df69840f92
commit b8044c29dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 45 additions and 18 deletions

View file

@ -30,8 +30,11 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: nixbuild/nix-quick-install-action@master
- uses: nix-community/cache-nix-action@main
with:
primary-key: nix-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}-${{ runner.arch }}
- name: Run goreleaser
run: nix develop --command -- goreleaser release --clean