File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 3535 steps :
3636 - name : Checkout Repo
3737 uses : actions/checkout@v4
38- - name : Build Nix Package
38+ - name : Install nix (ephemeral)
39+ if : ${{ matrix.runs_on.group != 'self-hosted-runners-nix' }}
40+ uses : ./.github/actions/nix-install-ephemeral
41+ env :
42+ DEV_AWS_ROLE : ${{ secrets.DEV_AWS_ROLE }}
43+ NIX_SIGN_SECRET_KEY : ${{ secrets.NIX_SIGN_SECRET_KEY }}
44+ - name : Install nix (self-hosted)
45+ if : ${{ matrix.runs_on.group == 'self-hosted-runners-nix' }}
3946 uses : ./.github/actions/nix-install-self-hosted
4047 - name : nix build
4148 shell : bash
5562 steps :
5663 - name : Checkout Repo
5764 uses : actions/checkout@v4
58- - name : Build Nix Package
65+ - name : Install nix
5966 uses : ./.github/actions/nix-install-self-hosted
6067 - name : nix build
6168 shell : bash
Original file line number Diff line number Diff line change 2929 name : Generate Nix Matrix
3030 run : |
3131 set -Eeu
32- echo matrix="$(nix run .\#github-matrix checks legacyPackages)" >> "$GITHUB_OUTPUT"
32+ echo matrix="$(nix run --accept-flake-config .\#github-matrix checks legacyPackages)" >> "$GITHUB_OUTPUT"
You can’t perform that action at this time.
0 commit comments