change ${{ github.action_path }} to $GITHUB_ACTION_PATH

workaround for ${{ github.action_path }} not working inside containers
This commit is contained in:
Sander Roet 2024-11-19 11:46:32 +01:00 committed by GitHub
parent 93e87954aa
commit b655c9d564
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -149,7 +149,9 @@ runs:
steps.pre-installed-python.outputs.python-path == ''
&& steps.new-python.outputs.python-path
|| steps.pre-installed-python.outputs.python-path
}} '${{ github.action_path }}/create-docker-action.py'
}} '$GITHUB_ACTION_PATH/create-docker-action.py'
# Use proposed workaround for ${{ github.action_path }} not working inside containers
# https://github.com/actions/runner/issues/2185#issuecomment-1683545859
env:
REF: ${{ steps.set-repo-and-ref.outputs.ref }}
REPO: ${{ steps.set-repo-and-ref.outputs.repo }}