From b655c9d5647d9caa519886de2b4632b516e608ab Mon Sep 17 00:00:00 2001 From: Sander Roet Date: Tue, 19 Nov 2024 11:46:32 +0100 Subject: [PATCH] change ${{ github.action_path }} to $GITHUB_ACTION_PATH workaround for ${{ github.action_path }} not working inside containers --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3e39fd1..132eb4e 100644 --- a/action.yml +++ b/action.yml @@ -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 }}