Workflow splitted

This commit is contained in:
Andrea Ciceri 2022-11-10 21:10:08 +01:00
parent 6fcd4730a2
commit c733eec395
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
5 changed files with 144 additions and 0 deletions

28
.github/workflows/build-hs.yaml vendored Normal file
View file

@ -0,0 +1,28 @@
name: build-hs
on:
workflow_dispatch: # allows manual triggering
push:
branches:
- master
- update_flake_lock_action
jobs:
build-hs:
if: ${{ always() }}
needs: check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: cachix/install-nix-action@v17
with:
extra_nix_config: |
max-jobs = 10
- uses: cachix/cachix-action@v10
with:
name: aciceri-fleet
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix --print-build-logs --verbose build --allow-import-from-derivation .#nixosConfigurations.hs.config.system.build.toplevel