actions: context: add github.
This commit is contained in:
parent
9d4becce06
commit
3a47977c68
2 changed files with 43 additions and 24 deletions
|
@ -11,6 +11,7 @@ runs:
|
|||
set -x
|
||||
test "$GITHUB_ACTION_REPOSITORY" = root/action-for-context
|
||||
test "$GITHUB_ACTION_REPOSITORY" = "${{ env.GITHUB_ACTION_REPOSITORY }}"
|
||||
test "$GITHUB_ACTION_REPOSITORY" = "${{ github.ACTION_REPOSITORY }}"
|
||||
touch /srv/example/example-context/GITHUB_ACTION_REPOSITORY
|
||||
|
||||
- name: GITHUB_ACTION_PATH
|
||||
|
@ -18,4 +19,5 @@ runs:
|
|||
run: |
|
||||
set -x
|
||||
[[ "$GITHUB_ACTION_PATH" =~ action-for-context@main$ ]]
|
||||
test "$GITHUB_ACTION_PATH" = "${{ github.ACTION_PATH }}"
|
||||
touch /srv/example/example-context/GITHUB_ACTION_PATH
|
||||
|
|
Loading…
Add table
Reference in a new issue