Add flakehub push #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Binary Cache" | ||
on: | ||
pull_request: | ||
push: | ||
jobs: | ||
binary-cache: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: "actions/checkout@v4" | ||
- uses: "DeterminateSystems/nix-installer-action@main" | ||
- uses: cachix/cachix-action@v14 | ||
with: | ||
name: luke-channings | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
- name: Build packages | ||
if: ${{ matrix.os == "macos-latest" }} | ||
Check failure on line 19 in .github/workflows/binary-cache.yaml GitHub Actions / Binary CacheInvalid workflow file
|
||
run: | | ||
nix build .#mkalias | ||
nix build .#link-apps | ||
- name: Build dev shell | ||
if: ${{ matrix.os == "macos-latest" }} | ||
run: | | ||
nix develop --build | ||