-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (38 loc) · 1.13 KB
/
Copy pathdebug.yaml
File metadata and controls
44 lines (38 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Debugging Workflow
on:
workflow_dispatch:
inputs:
ref:
description: 'Branch or Tag to build'
required: true
default: 'master'
type: string
runner:
description: 'Runner to use for the build'
required: true
type: choice
options:
- ubuntu-latest
- macos-latest
- windows-latest
jobs:
build-artifacts:
runs-on: ${{ github.event.inputs.runner }}
name: Debug Build ${{ github.event.inputs.ref }} on ${{ github.event.inputs.runner }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.inputs.ref }}
- name: Set Swap Space
if: ${{ !startsWith(github.event.inputs.runner, 'macos') }}
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 12
- uses: cachix/install-nix-action@v30
- uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Setup tmate session for debugging
uses: mxschmitt/action-tmate@v3
with:
detached: true
limit-access-to-actor: true