.github/workflows: more selfhosted runners

This commit is contained in:
Nikodem Rabuliński 2024-02-11 22:14:13 +01:00
parent 1f1e76bd1b
commit b1b68dd2e9

View file

@ -24,7 +24,7 @@ jobs:
nix eval --raw .#github-matrix >> $GITHUB_OUTPUT
build-x86_64-linux:
runs-on: ubuntu-latest
runs-on: [Linux, X64, nix]
needs: [matrix]
if: ${{ needs.matrix.outputs.x86_64-linux != '[]' && needs.matrix.outputs.x86_64-linux != '' }}
strategy:
@ -33,7 +33,6 @@ jobs:
output: ${{ fromJson(needs.matrix.outputs.x86_64-linux )}}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
- name: Build output
run: nix build .#${{ matrix.output }} -L
- name: Push output