Skip to content

Commit 377b8f5

Browse files
committed
CI: Use macOS 14 runner, pin the nix channel
1 parent 40b87c7 commit 377b8f5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: .github/workflows/build-artifacts.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-22.04
10+
runs-on: macos-14
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v4
1414

1515
- name: Install Nix
1616
uses: cachix/install-nix-action@v26
1717
with:
18+
nix_path: nixpkgs=channel:nixos-23.11
1819
github_access_token: ${{ secrets.GITHUB_TOKEN }}
1920

21+
- name: Check Nix Flake
22+
run: nix flake check
23+
2024
- name: Build Anki deck and PDF with Nix
2125
run: nix develop --command bash -c 'make cards.apkg cards.pdf'
2226

0 commit comments

Comments
 (0)