Skip to content

Commit 7dee9d2

Browse files
sroetwebknjaz
authored andcommitted
change ${{ github.action_path }} to $GITHUB_ACTION_PATH
workaround for ${{ github.action_path }} not working inside containers
1 parent 7252a9a commit 7dee9d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ runs:
149149
steps.pre-installed-python.outputs.python-path == ''
150150
&& steps.new-python.outputs.python-path
151151
|| steps.pre-installed-python.outputs.python-path
152-
}} '${{ github.action_path }}/create-docker-action.py'
152+
}} '$GITHUB_ACTION_PATH/create-docker-action.py'
153+
# Use proposed workaround for ${{ github.action_path }} not working inside containers
154+
# https://github.com/actions/runner/issues/2185#issuecomment-1683545859
153155
env:
154156
REF: ${{ steps.set-repo-and-ref.outputs.ref }}
155157
REPO: ${{ steps.set-repo-and-ref.outputs.repo }}

0 commit comments

Comments
 (0)