summaryrefslogtreecommitdiff
path: root/.github/workflows/debug.yml
blob: 7535f7134b764af36208b91773a9b814a5df6e84 (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@v3
    - uses: cachix/install-nix-action@v22
    - 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