Skip to content

all: update (#2089) #7228

all: update (#2089)

all: update (#2089) #7228

Workflow file for this run

name: build
on: { workflow_dispatch, push }
jobs:
build:
strategy:
fail-fast: false
matrix:
system: [{ os: Linux, arch: X64 }, { os: macOS, arch: ARM64 }]
name: '${{ matrix.system.os }} ${{ matrix.system.arch }}'
runs-on: [nix, '${{ matrix.system.os }}', '${{ matrix.system.arch }}']
steps:
- uses: actions/checkout@v4
- run: nix -L build .#checks.default
- run: ./result/bin/checks
- run: |
cachix authtoken '${{ secrets.CACHIX_AUTH_TOKEN }}'
cachix push kwbauson ./result
- if: github.ref == 'refs/heads/main'
run: |
cd ./result/builds
for build in *;do
cachix pin kwbauson $build.$GITHUB_SHA $(realpath $build) --keep-days 3
done