Skip to content

Commit 8499a7f

Browse files
authored
fix(aws-auth): fix reference to the action's own path (#1032)
This is a workaround for actions/runner#716 (closed but not fixed): use `${GITHUB_ACTION_PATH}` instead of `${{ github.action_path }}`.
1 parent a5e8a34 commit 8499a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/aws-auth/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ runs:
6969
if [[ ! -z "${REPOSITORY_PATH}" ]]; then
7070
cd ${REPOSITORY_PATH}/actions/aws-auth
7171
else
72-
cd "${{ github.action_path }}"
72+
cd "${GITHUB_ACTION_PATH}"
7373
fi
7474
./resolve-aws-region.sh

0 commit comments

Comments
 (0)