mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-16 19:42:34 +08:00
Compare commits
3 Commits
v5.0.3
...
release/wr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30e5f3975b | ||
|
|
095cfe09c6 | ||
|
|
b542d5a35c |
@@ -154,6 +154,11 @@ branding:
|
|||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
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
|
- name: Set safe directory
|
||||||
if: ${{ inputs.disable_safe_directory != 'true' }}
|
if: ${{ inputs.disable_safe_directory != 'true' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -171,7 +176,7 @@ runs:
|
|||||||
else
|
else
|
||||||
if [ -n ${{ inputs.token }} ];
|
if [ -n ${{ inputs.token }} ];
|
||||||
then
|
then
|
||||||
CC_TOKEN=${{ inputs.token }}
|
CC_TOKEN=$(echo ${{ inputs.token }} | tr -d '\n')
|
||||||
echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
|
echo "CC_TOKEN=$CC_TOKEN" >> "$GITHUB_ENV"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Submodule src/scripts updated: 25f50b4c5b...21e5116d8e
Reference in New Issue
Block a user