mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-13 14:37:24 +00:00
fix: use GITHUB_ACTION_PATH
This commit is contained in:
parent
5ed63a583c
commit
f89dff9cb6
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ runs:
|
||||||
- name: Action version
|
- name: Action version
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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"
|
echo -e "\033[0;32m==>\033[0m Running Action version $$CC_ACTION_VERSION"
|
||||||
- name: Set safe directory
|
- name: Set safe directory
|
||||||
if: ${{ inputs.disable_safe_directory != 'true' }}
|
if: ${{ inputs.disable_safe_directory != 'true' }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue