1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-16 21:38:21 +00:00
nix-darwin/.github/workflows/debug.yml
Marin Usalj 7d37b79015 [github] Use macos-12
It might be beneficial to set up a matrix
([docs](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-multi-dimension-matrix))
and run all major supported macOS versions in parallel.

Reason: macos-10.15 is [being deprecated](https://github.com/actions/runner-images/issues/5583) and
will be fully unsupported by Aug 30 2022.
2022-08-12 14:15:02 -04:00

23 lines
679 B
YAML

name: "Debug"
on:
# curl -fsSL -XPOST \
# -H "Accept: application/vnd.github.everest-preview+json" \
# -H "Authorization: token $GITHUB_TOKEN" \
# --data '{"event_type": "debug"}' \
# https://api.github.com/repos/LnL7/nix-darwin/dispatches
repository_dispatch:
types:
- debug
jobs:
debug:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v15
- run: |
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
nix-channel --update
- run: |
nix-shell -A installer
nix-shell -A installer.check
- uses: mxschmitt/action-tmate@v3