Skip to content

Commit 5268739

Browse files
fix: script location (#8)
1 parent fb0b557 commit 5268739

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ jobs:
1515
- name: 'Needs Context'
1616
run: echo 'Needs Context'
1717

18+
debug_action_test:
19+
name: 'Debug Action Test'
20+
runs-on: ubuntu-latest
21+
needs: [ needs_context ]
22+
steps:
23+
- name: 'Debug Action'
24+
uses: henrygriffiths/debug_action@main
25+
env:
26+
EXAMPLE_VAR: 'Value'
27+
with:
28+
secrets_context: ${{ toJson(secrets) }}
29+
needs_context: ${{ toJson(needs) }}
30+
1831
debug_action_all:
1932
name: 'Debug Action All'
2033
runs-on: ubuntu-latest

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ runs:
3535
NEEDS_CONTEXT: ${{ inputs.needs_context }}
3636
INPUTS_CONTEXT: ${{ toJson(inputs) }}
3737
shell: bash
38-
run: ./debug_action.sh ${{ inputs.contexts }}
38+
run: $GITHUB_ACTION_PATH/debug_action.sh ${{ inputs.contexts }}

0 commit comments

Comments
 (0)