mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-19 20:22:34 +08:00
Compare commits
2 Commits
release/wr
...
v5.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
968872560f | ||
|
|
2112eaec1b |
@@ -11,9 +11,10 @@
|
|||||||
### Migration Guide
|
### Migration Guide
|
||||||
The `v5` release also coincides with the opt-out feature for tokens for public repositories. In the repository settings page in codecov.io, you can set the ability for Codecov to receive a coverage report from ANY souce. This will allow contributors or other members of a repository to upload without needing access to the Codecov token.
|
The `v5` release also coincides with the opt-out feature for tokens for public repositories. In the repository settings page in codecov.io, you can set the ability for Codecov to receive a coverage report from ANY souce. This will allow contributors or other members of a repository to upload without needing access to the Codecov token.
|
||||||
|
|
||||||
**The following arguments have been changed**
|
> [!WARNING]
|
||||||
- `file` (this has been deprecated in favor of `files`)
|
> **The following arguments have been changed**
|
||||||
- `plugin` (this has been deprecated in favor of `plugins`)
|
> - `file` (this has been deprecated in favor of `files`)
|
||||||
|
> - `plugin` (this has been deprecated in favor of `plugins`)
|
||||||
|
|
||||||
The following arguments have been added:
|
The following arguments have been added:
|
||||||
|
|
||||||
|
|||||||
7
dist/codecov.sh
vendored
7
dist/codecov.sh
vendored
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
CC_WRAPPER_VERSION="0.0.22"
|
CC_WRAPPER_VERSION="0.0.23"
|
||||||
set +u
|
set +u
|
||||||
say() {
|
say() {
|
||||||
echo -e "$1"
|
echo -e "$1"
|
||||||
@@ -80,13 +80,16 @@ else
|
|||||||
say "$g ->$x Downloading $b${cc_url}$x"
|
say "$g ->$x Downloading $b${cc_url}$x"
|
||||||
curl -Os $cc_url
|
curl -Os $cc_url
|
||||||
say "$g==>$x Finishing downloading $b${cc_os}:${CC_VERSION}$x"
|
say "$g==>$x Finishing downloading $b${cc_os}:${CC_VERSION}$x"
|
||||||
|
version_url="https://cli.codecov.io/${cc_os}/${CC_VERSION}"
|
||||||
|
version=$(curl -s $version_url -H "Accept:application/json" | jq -r '.version')
|
||||||
|
say " Version: $b$version$x"
|
||||||
say " "
|
say " "
|
||||||
fi
|
fi
|
||||||
if [ "$CC_SKIP_VALIDATION" = "true" ] || [ -n "$CC_BINARY" ];
|
if [ "$CC_SKIP_VALIDATION" = "true" ] || [ -n "$CC_BINARY" ];
|
||||||
then
|
then
|
||||||
say "$r==>$x Bypassing validation as requested by user"
|
say "$r==>$x Bypassing validation as requested by user"
|
||||||
else
|
else
|
||||||
CC_PUBLIC_PGP_KEY=$(curl https://keybase.io/codecovsecurity/pgp_keys.asc)
|
CC_PUBLIC_PGP_KEY=$(curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)
|
||||||
echo "${CC_PUBLIC_PGP_KEY}" | \
|
echo "${CC_PUBLIC_PGP_KEY}" | \
|
||||||
gpg --no-default-keyring --import
|
gpg --no-default-keyring --import
|
||||||
# One-time step
|
# One-time step
|
||||||
|
|||||||
Submodule src/scripts updated: 44fa6396f4...c4d213e688
Reference in New Issue
Block a user