mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
chore: update
This commit is contained in:
parent
26815c337f
commit
6c6f264768
19 changed files with 187 additions and 103 deletions
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
|
@ -15,25 +15,28 @@ permissions:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
name: ${{ matrix.label }}
|
||||
strategy:
|
||||
matrix:
|
||||
label:
|
||||
- caladan
|
||||
include:
|
||||
- label: caladan
|
||||
attr: darwinConfigurations.caladan.config.system.build.toplevel
|
||||
runner: macos-14
|
||||
runner: macos-latest
|
||||
|
||||
runs-on: ${{ matrix.runner }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # ratchet:actions/checkout@v5
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # ratchet:cachix/install-nix-action@v31
|
||||
run: .github/workflows/install-nix.sh
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
||||
- name: Build
|
||||
run: nix build -L --show-trace .#${{ matrix.attr }}
|
||||
run: nix build -L --show-trace ".#$NIX_BUILD_ATTR"
|
||||
env:
|
||||
NIX_BUILD_ATTR: ${{ matrix.attr }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue