actions: as of Forgejo runner v8.0.0 FORGEJO_ACTION_PATH is hash based (#823)

Refs: https://code.forgejo.org/forgejo/act/pulls/186
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/823
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
Earl Warren 2025-07-21 20:31:52 +00:00 committed by earl-warren
parent 18b2dc2e85
commit 841ca7c2c6
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201
2 changed files with 5 additions and 2 deletions

View file

@ -16,7 +16,7 @@ runs:
- name: FORGEJO_ACTION_PATH
run: |
set -x
test "$(basename $FORGEJO_ACTION_PATH)" = local-action
test -e "$FORGEJO_ACTION_PATH"
test "$FORGEJO_ACTION_PATH" = "${{ env.FORGEJO_ACTION_PATH }}"
- run: echo key=${{ inputs.input-two-required }} >> $FORGEJO_OUTPUT