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 }}
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- name: Get merge commit
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
@ -116,8 +113,11 @@ jobs:
|
||||
|
||||
# For PRs
|
||||
- name: Setup Nix Magic Cache
|
||||
if: ${{ env.USE_DETERMINATE == 'true' }}
|
||||
uses: DeterminateSystems/flakehub-cache-action@v2
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v13
|
||||
with:
|
||||
diagnostic-endpoint: ""
|
||||
use-flakehub: false
|
||||
|
||||
# For in-tree builds
|
||||
- name: Setup Cachix
|
||||
|
Loading…
x
Reference in New Issue
Block a user