Skip to content

Commit 76ba43a

Browse files
authored
fix(action): use environment variable for GitHub Action path (#36)
actions/runner#2185
1 parent 143d9d4 commit 76ba43a

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
@@ -32,7 +32,7 @@ runs:
3232
steps:
3333
- name: Download git-cliff
3434
shell: bash
35-
run: ${{ github.action_path }}/install.sh
35+
run: ${GITHUB_ACTION_PATH}/install.sh
3636
env:
3737
RUNNER_OS: ${{ runner.os }}
3838
RUNNER_ARCH: ${{ runner.arch }}
@@ -42,7 +42,7 @@ runs:
4242
- name: Run git-cliff
4343
id: run-git-cliff
4444
shell: bash
45-
run: ${{ github.action_path }}/run.sh --config=${{ inputs.config }} ${{ inputs.args }}
45+
run: ${GITHUB_ACTION_PATH}/run.sh --config=${{ inputs.config }} ${{ inputs.args }}
4646

4747
branding:
4848
icon: "triangle"

0 commit comments

Comments
 (0)