Skip to content

Commit b542d5a

Browse files
fix: add action version (#1678)
* fix: add action version * fix: use GITHUB_ACTION_PATH * fix: forgot a pipe
1 parent 05f5a9c commit b542d5a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

action.yml

+5
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ branding:
154154
runs:
155155
using: "composite"
156156
steps:
157+
- name: Action version
158+
shell: bash
159+
run: |
160+
CC_ACTION_VERSION=$(cat ${GITHUB_ACTION_PATH}/src/version | grep 'CODECOV_ACTION_VERSION=' | cut -d\" -f2)
161+
echo -e "\033[0;32m==>\033[0m Running Action version $CC_ACTION_VERSION"
157162
- name: Set safe directory
158163
if: ${{ inputs.disable_safe_directory != 'true' }}
159164
shell: bash

0 commit comments

Comments
 (0)