The release of upload-artifact@v4 and download-artifact@v4 are major changes to the backend architecture of Artifacts. They have numerous performance and behavioral improvements.
ℹ️ However, this is a major update that includes breaking changes. Artifacts created with versions v3 and below are not compatible with the v4 actions. Uploads and downloads must use the same major actions versions. There are also key differences from previous versions that may require updates to your workflows.
Fixed a bug in Node16 where if an HTTP download finished too quickly (<1ms, e.g. when it's mocked) we attempt to delete a temp file that has not been created yet actions/toolkit#1278
v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to power new features including local upload, the global upload token, and new upcoming features.
Breaking Changes
The Codecov Action runs as a node20 action due to node16 deprecation. See this post from GitHub on how to migrate.
Tokenless uploading is unsupported. However, PRs made from forks to the upstream public repos will support tokenless (e.g. contributors to OS projects do not need the upstream repo's Codecov token). This doc shows instructions on how to add the Codecov token.
OS platforms have been added, though some may not be automatically detected. To see a list of platforms, see our CLI download page
Various arguments to the Action have been changed. Please be aware that the arguments match with the CLI's needs
v3 versions and below will not have access to CLI features (e.g. global upload token, ATS).
v4 represents a move from the universal uploader to the Codecov CLI. Although this will unlock new features for our users, the CLI is not yet at feature parity with the universal uploader.
Breaking Changes
No current support for aarch64 and alpine architectures.
Switch to @actions/artifact, removing the need for a token parameter (Sebastian Weigand) #24
v4.1
Add default token.
Fix over-arching catch output; errors now correctly result in a failed run (Leon Linhart) #18
v4.0
Add support for artifacts uploaded with actions/upload-artifact@v4.
Add requirement of token with read and write access to actions.
Update requests to use GitHub REST API.
Deprecate support for actions/upload-artifact@v1, actions/upload-artifact@v2, and actions/upload-artifact@v3 (please use geekyeggo/delete-artifact@v2).
v2.0
Add support for glob pattern matching via useGlob.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the all-actions group with 4 updates: actions/cache, actions/download-artifact, codecov/codecov-action and geekyeggo/delete-artifact.
Updates
actions/cache
from 3 to 4Release notes
Sourced from actions/cache's releases.
... (truncated)
Changelog
Sourced from actions/cache's changelog.
... (truncated)
Commits
ab5e6d0
Merge pull request #1341 from bethanyj28/main89c7d86
licensed cached2c84da
update@actions/cache
37e7d4e
Merge pull request #1340 from actions/bethanyj28/update-publish-flowa18323f
add release actiona2ed59d
Merge pull request #1305 from actions/yacaovsnc/update_examplesdc88ab5
Update examples1d78355
Merge pull request #1304 from actions/yacaovsnc/update_readmec36458f
Update README.md13aacd8
Merge pull request #1242 from to-s/mainUpdates
actions/download-artifact
from 3 to 4Release notes
Sourced from actions/download-artifact's releases.
Commits
c850b93
Merge pull request #307 from bethanyj28/main6fd111f
update@actions/artifact
87c5514
Merge pull request #303 from bethanyj28/main47f9ce6
update@actions/artifact
127824d
Merge pull request #299 from bethanyj28/main6dd49bf
licensed only artifactf71c0e3
Revert "licensed"7c63dfd
licensed67d37cd
Update toolkit3487549
Update release-new-action-version.yml (#292)Updates
codecov/codecov-action
from 3 to 4Release notes
Sourced from codecov/codecov-action's releases.
... (truncated)
Changelog
Sourced from codecov/codecov-action's changelog.
... (truncated)
Commits
54bcd87
chore(release): v4.1.0 (#1307)8ba77ef
build(deps-dev): bump eslint from 8.56.0 to 8.57.0 (#1305)c60aa80
build(deps): bump github/codeql-action from 3.24.3 to 3.24.5 (#1306)2fc4847
fix: set safe directory (#1304)0cfda1d
chore(release): bump to 4.0.2 (#1302)7d3a55e
build(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1 (#1286)fe84a0b
build(deps-dev): bump@typescript-eslint/eslint-plugin
from 6.21.0 to 7.0.0 (...e12c940
Use updated syntax for GitHub Markdown notes (#1300)ef7f8a5
build(deps): bump github/codeql-action from 3.24.0 to 3.24.3 (#1298)b8a1d6a
build(deps-dev): bump@typescript-eslint/eslint-plugin
from 6.20.0 to 6.21.0 ...Updates
geekyeggo/delete-artifact
from 4 to 5Release notes
Sourced from geekyeggo/delete-artifact's releases.
Changelog
Sourced from geekyeggo/delete-artifact's changelog.
Commits
24928e7
docs: update docs for v5ff19d56
refactor: remove unused global declarations1ca925b
style: linting, and wordingf429ee8
build (deps): bump@actions/artifact
and undici7467c3c
refactor: use@actions/artifact
(#24) - closes #19, #213f83cd6
build: remove tokensDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show