From 76ba43af940f631f5920e7f8d0de1321703b7cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Wed, 18 Sep 2024 00:00:43 +0300 Subject: [PATCH] fix(action): use environment variable for GitHub Action path (#36) https://github.com/actions/runner/issues/2185 --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 978d7b8..09afe1b 100644 --- a/action.yml +++ b/action.yml @@ -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"