Skip to content

Commit c932033

Browse files
fix: use GITHUB_ACTION_PATH instead of github.action_path
${{github.action_path}} is not compatible with container based actions. ${{github.workspacei}} suffers from the same defect, and it is unlikely that github is going to fix it, as it has been a known issue for a long time. See actions/checkout#785 The solution is to use ${{env.GITHUB_ACTION_PATH}} instead, or inside a run context, just $GITHUB_ACTION_PATH
1 parent 4994faa commit c932033

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ runs:
6262
shell: bash
6363

6464
- id: install
65-
run: ${{ github.action_path }}/install.sh
65+
run: ${GITHUB_ACTION_PATH}/install.sh
6666
shell: bash
6767

6868
- run: echo Running cocogitto
@@ -76,7 +76,7 @@ runs:
7676
- id: cog
7777
shell: bash
7878
run: |
79-
${{ github.action_path }}/cog.sh \
79+
${GITHUB_ACTION_PATH}/cog.sh \
8080
"${{ inputs.check }}" \
8181
"${{ inputs.check-latest-tag-only }}" \
8282
"${{ inputs.release }}" \

0 commit comments

Comments
 (0)