ci: Replace magic-nix-cache-action
This commit is contained in:
parent
c3011cf944
commit
2bfc27b085
|
|
@ -120,9 +120,12 @@ jobs:
|
|||
- name: "Checkout 🥡"
|
||||
uses: "actions/checkout@v4"
|
||||
- name: "Install Nix ❄️"
|
||||
uses: "DeterminateSystems/nix-installer-action@v16"
|
||||
- name: "Enable Magic Nix Cache 🪄"
|
||||
uses: "DeterminateSystems/magic-nix-cache-action@v7"
|
||||
uses: "nixbuild/nix-quick-install-action@v30"
|
||||
- name: "Enable Nix Cache 🪄"
|
||||
uses: "nix-community/cache-nix-action@v6"
|
||||
with:
|
||||
primary-key: nix-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
|
||||
restore-prefixes-first-match: nix-${{ runner.os }}-${{ runner.arch }}
|
||||
- name: "Build with Nix ❄️"
|
||||
run: |
|
||||
nix build .#quickgui
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: DeterminateSystems/nix-installer-action@v16
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@v7
|
||||
- uses: nixbuild/nix-quick-install-action@v30
|
||||
- uses: nix-community/cache-nix-action@v6
|
||||
with:
|
||||
primary-key: nix-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
|
||||
restore-prefixes-first-match: nix-${{ runner.os }}-${{ runner.arch }}
|
||||
- uses: DeterminateSystems/flake-checker-action@v9
|
||||
|
|
|
|||
|
|
@ -13,8 +13,11 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: DeterminateSystems/nix-installer-action@v16
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@v7
|
||||
- uses: nixbuild/nix-quick-install-action@v30
|
||||
- uses: nix-community/cache-nix-action@v6
|
||||
with:
|
||||
primary-key: nix-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
|
||||
restore-prefixes-first-match: nix-${{ runner.os }}-${{ runner.arch }}
|
||||
- uses: DeterminateSystems/update-flake-lock@v24
|
||||
with:
|
||||
pr-title: "chore: update flake.lock"
|
||||
|
|
|
|||
|
|
@ -103,8 +103,11 @@ jobs:
|
|||
- uses: "actions/checkout@v4"
|
||||
with:
|
||||
ref: "${{ (inputs.tag != null) && format('refs/tags/{0}', inputs.tag) || '' }}"
|
||||
- uses: "DeterminateSystems/nix-installer-action@v16"
|
||||
- uses: "DeterminateSystems/magic-nix-cache-action@v7"
|
||||
- uses: nixbuild/nix-quick-install-action@v30
|
||||
- uses: nix-community/cache-nix-action@v6
|
||||
with:
|
||||
primary-key: nix-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
|
||||
restore-prefixes-first-match: nix-${{ runner.os }}-${{ runner.arch }}
|
||||
- uses: "DeterminateSystems/flakehub-push@v5"
|
||||
with:
|
||||
visibility: "public"
|
||||
|
|
|
|||
Loading…
Reference in New Issue