mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-09 20:47:26 +00:00
fix: try using the CODECOV_OS script
This commit is contained in:
parent
53e5adb4c3
commit
dfd343a74f
4 changed files with 5 additions and 4 deletions
|
|
@ -121,10 +121,10 @@ runs:
|
|||
id: codecov-upload
|
||||
shell: bash
|
||||
run: |
|
||||
curl -Os https://cli.codecov.io/latest/linux/codecov
|
||||
curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM
|
||||
curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
|
||||
gpg --import dist/pgp_keys.asc
|
||||
curl -Os https://cli.codecov.io/latest/${CODECOV_OS}/codecov
|
||||
curl -Os https://cli.codecov.io/latest/${CODECOV_OS}/codecov.SHA256SUM
|
||||
curl -Os https://cli.codecov.io/latest/${CODECOV_OS}/codecov.SHA256SUM.sig
|
||||
gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM
|
||||
|
||||
shasum -a 256 -c codecov.SHA256SUM
|
||||
|
|
|
|||
1
dist/scripts/determine_os.sh
vendored
1
dist/scripts/determine_os.sh
vendored
|
|
@ -7,3 +7,4 @@ codecov_os="windows"
|
|||
osID=$(grep -e "^ID=" /etc/os-release | cut -c4-)
|
||||
[[ $osID == "alpine" ]] && codecov_os="alpine"
|
||||
echo "==> ${codecov_os} detected"
|
||||
echo "CODECOV_OS=${codecov_os}" >> "$GITHUB_OUTPUT"
|
||||
|
|
|
|||
|
|
@ -7,3 +7,4 @@ codecov_os="windows"
|
|||
osID=$(grep -e "^ID=" /etc/os-release | cut -c4-)
|
||||
[[ $osID == "alpine" ]] && codecov_os="alpine"
|
||||
echo "==> ${codecov_os} detected"
|
||||
echo "CODECOV_OS=${codecov_os}" >> "$GITHUB_OUTPUT"
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
echo "meow"
|
||||
Loading…
Reference in a new issue