fix(action): use environment variable for GitHub Action path (#36)

https://github.com/actions/runner/issues/2185
This commit is contained in:
Orhun Parmaksız
2024-09-18 00:00:43 +03:00
committed by GitHub
parent 143d9d4b8e
commit 76ba43af94

View File

@@ -32,7 +32,7 @@ runs:
steps:
- name: Download git-cliff
shell: bash
run: ${{ github.action_path }}/install.sh
run: ${GITHUB_ACTION_PATH}/install.sh
env:
RUNNER_OS: ${{ runner.os }}
RUNNER_ARCH: ${{ runner.arch }}
@@ -42,7 +42,7 @@ runs:
- name: Run git-cliff
id: run-git-cliff
shell: bash
run: ${{ github.action_path }}/run.sh --config=${{ inputs.config }} ${{ inputs.args }}
run: ${GITHUB_ACTION_PATH}/run.sh --config=${{ inputs.config }} ${{ inputs.args }}
branding:
icon: "triangle"