Skip to content

Commit

Permalink
fix: add action version (#1678)
Browse files Browse the repository at this point in the history
* fix: add action version

* fix: use GITHUB_ACTION_PATH

* fix: forgot a pipe
  • Loading branch information
thomasrockhu-codecov authored Nov 19, 2024
1 parent 05f5a9c commit b542d5a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ branding:
runs:
using: "composite"
steps:
- name: Action version
shell: bash
run: |
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' }}
shell: bash
Expand Down

0 comments on commit b542d5a

Please sign in to comment.