Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit 6ce641b

Browse files
authored
Update action to support org level references (#28)
This will be needed once the newest version of production is deployed.
1 parent cb1a9a2 commit 6ce641b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

action.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ inputs:
2222
description: Which shell to run with
2323
default: bash
2424
required: false
25+
org:
26+
description: Which organization the breakpoint is associated with
27+
required: false
2528
trunk-path:
2629
description:
2730
Path to Trunk Launcher. If not provided, we'll look for it the repo root, `.trunk/bin` and
@@ -31,13 +34,17 @@ inputs:
3134
trunk-version:
3235
description: Which version of the trunk tool to run
3336
required: false
34-
default: 1.11.2-beta.9
37+
default: 1.11.2-beta.27
3538
runs:
3639
using: composite
3740
steps:
3841
- name: Run command inside debugger
3942
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
4148
shell: ${{ inputs.shell }}
4249
env:
4350
TRUNK_CLI_VERSION: ${{ inputs.trunk-version }}

0 commit comments

Comments
 (0)