summaryrefslogtreecommitdiff
path: root/.github/workflows/debug.yml
blob: 6c4311e5c06bf9f43d97b3a0eeeb0c3693553516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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@v17
    - 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