Skip to content

Commit

Permalink
CI: Use macOS 14 runner, pin the nix channel
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-si committed Mar 12, 2024
1 parent 40b87c7 commit 377b8f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Nix
uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-23.11
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- name: Check Nix Flake
run: nix flake check

- name: Build Anki deck and PDF with Nix
run: nix develop --command bash -c 'make cards.apkg cards.pdf'

Expand Down

0 comments on commit 377b8f5

Please sign in to comment.