Skip to content

Commit

Permalink
fix: script location (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygriffiths authored Apr 23, 2022
1 parent fb0b557 commit 5268739
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ jobs:
- name: 'Needs Context'
run: echo 'Needs Context'

debug_action_test:
name: 'Debug Action Test'
runs-on: ubuntu-latest
needs: [ needs_context ]
steps:
- name: 'Debug Action'
uses: henrygriffiths/debug_action@main
env:
EXAMPLE_VAR: 'Value'
with:
secrets_context: ${{ toJson(secrets) }}
needs_context: ${{ toJson(needs) }}

debug_action_all:
name: 'Debug Action All'
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ runs:
NEEDS_CONTEXT: ${{ inputs.needs_context }}
INPUTS_CONTEXT: ${{ toJson(inputs) }}
shell: bash
run: ./debug_action.sh ${{ inputs.contexts }}
run: $GITHUB_ACTION_PATH/debug_action.sh ${{ inputs.contexts }}

0 comments on commit 5268739

Please sign in to comment.