This repository was archived by the owner on Jul 10, 2024. It is now read-only.
File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ inputs:
22
22
description : Which shell to run with
23
23
default : bash
24
24
required : false
25
+ org :
26
+ description : Which organization the breakpoint is associated with
27
+ required : false
25
28
trunk-path :
26
29
description :
27
30
Path to Trunk Launcher. If not provided, we'll look for it the repo root, `.trunk/bin` and
@@ -31,13 +34,17 @@ inputs:
31
34
trunk-version :
32
35
description : Which version of the trunk tool to run
33
36
required : false
34
- default : 1.11.2-beta.9
37
+ default : 1.11.2-beta.27
35
38
runs :
36
39
using : composite
37
40
steps :
38
41
- name : Run command inside debugger
39
42
run : |
40
- ${GITHUB_ACTION_PATH}/trunk breakpoint --debug=${{ inputs.debug }} --id="${{ inputs.breakpoint-id }}" -- "${{ inputs.run }}"
43
+ if [[ "${{inputs.org}}" != "" ]]; then
44
+ ${GITHUB_ACTION_PATH}/trunk breakpoint --debug=${{ inputs.debug }} --org=${{ inputs.org }} --id="${{ inputs.breakpoint-id }}" -- "${{ inputs.run }}"
45
+ else
46
+ ${GITHUB_ACTION_PATH}/trunk breakpoint --debug=${{ inputs.debug }} --id="${{ inputs.breakpoint-id }}" -- "${{ inputs.run }}"
47
+ fi
41
48
shell : ${{ inputs.shell }}
42
49
env :
43
50
TRUNK_CLI_VERSION : ${{ inputs.trunk-version }}
You can’t perform that action at this time.
0 commit comments