actions: add context example
This commit is contained in:
parent
c5cccca38d
commit
4768908489
8 changed files with 240 additions and 4 deletions
|
@ -13,4 +13,10 @@ outputs:
|
|||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: GITHUB_ACTION_PATH
|
||||
run: |
|
||||
set -x
|
||||
test "$(basename $GITHUB_ACTION_PATH)" = local-action
|
||||
test "$GITHUB_ACTION_PATH" = "${{ env.GITHUB_ACTION_PATH }}"
|
||||
|
||||
- run: echo key=${{ inputs.input-two-required }} >> $GITHUB_OUTPUT
|
||||
|
|
Loading…
Add table
Reference in a new issue