This action prints actions contexts for debugging
- uses: henrygriffiths/debug_action@v1
with:
# Optional
# Specify which contexts to print
# Default: 'github,env,job,steps,runner,secrets,strategy,matrix,needs,inputs'
contexts: ''
# Optional
# Provide secrets context to action, as secrets context is not available in composite workflows
# Default: null
secrets_context: ${{ toJson(secrets) }}
# Optional
# Provide needs context to action, as needs context is not available in composite workflows
# Default: null
needs_context: ${{ toJson(needs) }}
- uses: henrygriffiths/debug_action@v1
with:
contexts: 'env'
- uses: henrygriffiths/debug_action@v1
with:
contexts: 'env,runner'
job:
runs-on: ubuntu-latest
strategy:
matrix:
context:
- github
- env
- job
- steps
- runner
- secrets
- strategy
- matrix
- needs
- inputs
steps:
- uses: henrygriffiths/debug_action@v1
with:
contexts: ${{ matrix.context }}
secrets_context: ${{ toJson(secrets) }}
needs_context: ${{ toJson(needs) }}
This project is released under the MIT License