Compare commits

...

2 commits

Author SHA1 Message Date
a47d932d18
Script update
Some checks failed
Build / nix-build (native-x86_64, fj-shadowfax-01) (push) Failing after 3m27s
Build / nix-build (native-aarch64, fj-hetzner-aarch64-01) (push) Failing after 4m41s
2024-07-25 08:25:48 -05:00
623677eeb8
filename and script 2024-07-25 08:25:40 -05:00

View file

@ -1,6 +1,10 @@
name: "Build" name: "Build"
on: on:
pull_request: pull_request:
push:
branches: ["main"]
paths:
- .forgejo/workflows/build.yaml
jobs: jobs:
nix-build: nix-build:
if: github.event.pull_request.draft == false if: github.event.pull_request.draft == false
@ -50,4 +54,6 @@ jobs:
if: success() if: success()
env: env:
CACHIX_ACTIVATE_TOKEN: ${{ secrets.CACHIX_ACTIVATE_TOKEN }} CACHIX_ACTIVATE_TOKEN: ${{ secrets.CACHIX_ACTIVATE_TOKEN }}
run: nix build ".#top.${{ matrix.system }}" --json | jq -r .[].drvPath | cachix deploy activate run: |
spec=$(nix build --print-out-paths)
cachix deploy activate $spec