From f89dff9cb6c6f538155a90e77e556e513175a558 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 19 Nov 2024 17:29:27 -0500 Subject: [PATCH] fix: use GITHUB_ACTION_PATH --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index b187d045e..4e491fead 100644 --- a/action.yml +++ b/action.yml @@ -157,7 +157,7 @@ runs: - name: Action version shell: bash run: | - CC_ACTION_VERSION=$(cat src/version | grep 'CODECOV_ACTION_VERSION=' cut -d\" -f2) + CC_ACTION_VERSION=$(cat ${GITHUB_ACTION_PATH}/src/version | grep 'CODECOV_ACTION_VERSION=' cut -d\" -f2) echo -e "\033[0;32m==>\033[0m Running Action version $$CC_ACTION_VERSION" - name: Set safe directory if: ${{ inputs.disable_safe_directory != 'true' }}