mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-24 03:33:08 -04:00
ci(nix): flakehub -> magic-nix-cache & gha cache
This will help us avoid `pull_request_target`, etc. Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
28b755cf04
commit
7e4a4cfd11
10
.github/workflows/nix.yml
vendored
10
.github/workflows/nix.yml
vendored
@ -91,9 +91,6 @@ jobs:
|
|||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Get merge commit
|
- name: Get merge commit
|
||||||
if: ${{ github.event_name == 'pull_request_target' }}
|
if: ${{ github.event_name == 'pull_request_target' }}
|
||||||
@ -116,8 +113,11 @@ jobs:
|
|||||||
|
|
||||||
# For PRs
|
# For PRs
|
||||||
- name: Setup Nix Magic Cache
|
- name: Setup Nix Magic Cache
|
||||||
if: ${{ env.USE_DETERMINATE == 'true' }}
|
if: ${{ github.event_name == 'pull_request_target' }}
|
||||||
uses: DeterminateSystems/flakehub-cache-action@v2
|
uses: DeterminateSystems/magic-nix-cache-action@v13
|
||||||
|
with:
|
||||||
|
diagnostic-endpoint: ""
|
||||||
|
use-flakehub: false
|
||||||
|
|
||||||
# For in-tree builds
|
# For in-tree builds
|
||||||
- name: Setup Cachix
|
- name: Setup Cachix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user