mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-09 00:26:25 +00:00
Compare commits
2 Commits
release/wr
...
v5.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
968872560f | ||
|
|
2112eaec1b |
@@ -11,9 +11,10 @@
|
||||
### 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 following arguments have been changed**
|
||||
- `file` (this has been deprecated in favor of `files`)
|
||||
- `plugin` (this has been deprecated in favor of `plugins`)
|
||||
> [!WARNING]
|
||||
> **The following arguments have been changed**
|
||||
> - `file` (this has been deprecated in favor of `files`)
|
||||
> - `plugin` (this has been deprecated in favor of `plugins`)
|
||||
|
||||
The following arguments have been added:
|
||||
|
||||
|
||||
7
dist/codecov.sh
vendored
7
dist/codecov.sh
vendored
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
CC_WRAPPER_VERSION="0.0.22"
|
||||
CC_WRAPPER_VERSION="0.0.23"
|
||||
set +u
|
||||
say() {
|
||||
echo -e "$1"
|
||||
@@ -80,13 +80,16 @@ else
|
||||
say "$g ->$x Downloading $b${cc_url}$x"
|
||||
curl -Os $cc_url
|
||||
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 " "
|
||||
fi
|
||||
if [ "$CC_SKIP_VALIDATION" = "true" ] || [ -n "$CC_BINARY" ];
|
||||
then
|
||||
say "$r==>$x Bypassing validation as requested by user"
|
||||
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}" | \
|
||||
gpg --no-default-keyring --import
|
||||
# One-time step
|
||||
|
||||
Reference in New Issue
Block a user