mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03: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
1 changed files with 5 additions and 5 deletions
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…
Add table
Add a link
Reference in a new issue