We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb0b557 commit 5268739Copy full SHA for 5268739
2 files changed
.github/workflows/main.yml
@@ -15,6 +15,19 @@ jobs:
15
- name: 'Needs Context'
16
run: echo 'Needs Context'
17
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
+
31
debug_action_all:
32
name: 'Debug Action All'
33
runs-on: ubuntu-latest
action.yml
@@ -35,4 +35,4 @@ runs:
35
NEEDS_CONTEXT: ${{ inputs.needs_context }}
36
INPUTS_CONTEXT: ${{ toJson(inputs) }}
37
shell: bash
38
- run: ./debug_action.sh ${{ inputs.contexts }}
+ run: $GITHUB_ACTION_PATH/debug_action.sh ${{ inputs.contexts }}
0 commit comments