Support direct file uploads#764
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds support for direct file uploads without archiving by introducing a new archive input parameter. When set to false, users can upload a single file directly without creating a zip archive. The implementation upgrades the @actions/artifact package from v6.1.0 to v6.2.0 to leverage the new skipArchive option.
Changes:
- Added new
archiveboolean input (defaults totruefor backward compatibility) - Implemented validation to ensure only a single file can be uploaded when
archiveisfalse - Updated package dependency to
@actions/artifactv6.2.0 to support theskipArchiveoption
Reviewed changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/upload/upload-inputs.ts | Added archive boolean field to UploadInputs interface with documentation |
| src/upload/constants.ts | Added Archive constant to the Inputs enum |
| src/upload/input-helper.ts | Added input retrieval for the archive parameter and included it in the returned inputs object |
| src/upload/upload-artifact.ts | Added validation for single-file requirement when archive is false and sets skipArchive option accordingly |
| action.yml | Added archive input parameter with description and default value of 'true', updated name and path descriptions |
| package.json | Updated @actions/artifact dependency from ^6.1.0 to ^6.2.0 |
| package-lock.json | Updated lockfile to reflect the new artifact package version |
| dist/upload/index.js | Compiled distribution file reflecting all source changes |
| tests/upload.test.ts | Added Archive input to mock inputs default configuration |
Comments suppressed due to low confidence (1)
src/upload/upload-artifact.ts:79
- When archive is set to false, the compression-level option becomes irrelevant since no compression occurs. However, there's no validation or warning to inform users that setting compression-level has no effect when archive is false. Consider adding validation to either ignore or warn users about this incompatible configuration.
if (typeof inputs.compressionLevel !== 'undefined') {
options.compressionLevel = inputs.compressionLevel
}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| needs: [build, merge] | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node 24 | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 24.x | ||
| cache: 'npm' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Delete test artifacts | ||
| uses: actions/github-script@v7 | ||
| with: | ||
| script: | | ||
| const artifactClient = require('@actions/artifact'); | ||
| const artifact = artifactClient.default || artifactClient; | ||
|
|
||
| const {artifacts} = await artifact.listArtifacts({latest: true}); | ||
| const keep = ['report.html']; | ||
|
|
||
| for (const a of artifacts) { | ||
| if (keep.includes(a.name)) { | ||
| console.log(`Keeping artifact '${a.name}'`); | ||
| continue; | ||
| } | ||
| try { | ||
| await artifact.deleteArtifact(a.name); | ||
| console.log(`Deleted artifact '${a.name}'`); | ||
| } catch (err) { | ||
| console.log(`Could not delete artifact '${a.name}': ${err.message}`); | ||
| } | ||
| } | ||
|
|
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium test
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 4 months ago
In general, the fix is to add an explicit permissions: block that grants only the minimum scopes needed to run this workflow. This can be done at the workflow (top) level to apply to all jobs, or specifically on the cleanup job if different jobs need different scopes. Since the highlighted issue is on the cleanup job, and we want the smallest change without affecting other jobs’ current behavior, we will add a permissions: block only to the cleanup job.
The cleanup job reads and deletes artifacts via the @actions/artifact client. Artifact operations are governed by the actions permission, not contents. There is no need for contents: write, issues, pull-requests, etc. A minimal and appropriate configuration is:
permissions:
actions: write
contents: readactions: write allows managing artifacts created by workflows; contents: read is a safe baseline and recommended as a default read-only scope. We will insert this directly under runs-on: ubuntu-latest in the cleanup job, around line 392, in .github/workflows/test.yml. No imports or additional methods are required because this is purely a YAML configuration change.
| @@ -389,6 +389,9 @@ | ||
| name: Cleanup Artifacts | ||
| needs: [build, merge] | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| actions: write | ||
| contents: read | ||
|
|
||
| steps: | ||
| - name: Checkout |
There was a problem hiding this comment.
Set the permissions block.
|
@danwkennedy, you’re a lifesaver! |
Bumps actions/upload-artifact from 6 to 7. ## Release notes Sourced from actions/upload-artifact's releases. v7.0.0 v7 What's new Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ESM To support new versions of the @actions/* packages, we've upgraded the package to ESM. What's Changed Add proxy integration test by @Link- in actions/upload-artifact#754 Upgrade the module to ESM and bump dependencies by @danwkennedy in actions/upload-artifact#762 Support direct file uploads by @danwkennedy in actions/upload-artifact#764 New Contributors @Link- made their first contribution in actions/upload-artifact#754 Full Changelog: actions/upload-artifact@v6...v7.0.0 ## Commits bbbca2d Support direct file uploads (#764) 589182c Upgrade the module to ESM and bump dependencies (#762) 47309c9 Merge pull request #754 from actions/Link-/add-proxy-integration-tests 02a8460 Add proxy integration test See full diff in compare view  Signed-off-by: dependabot[bot] <[email protected]> Change-Id: Ia2e29e951761b7cd74c86c9469ca502af2b566f6 GitHub-PR: #4131 GitHub-Hash: ec81e01b2a1da5f9 Signed-off-by: fdio.github <[email protected]>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6.0.0 to 7.0.0. Release notes *Sourced from [actions/upload-artifact's releases](https://github.com/actions/upload-artifact/releases).* > v7.0.0 > ------ > > v7 What's new > ------------- > > ### Direct Uploads > > Adds support for uploading single files directly (unzipped). Callers can set the new `archive` parameter to `false` to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The `name` parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. > > ### ESM > > To support new versions of the `@actions/*` packages, we've upgraded the package to ESM. > > What's Changed > -------------- > > * Add proxy integration test by [`@Link`](https://github.com/Link)- in [actions/upload-artifact#754](https://redirect.github.com/actions/upload-artifact/pull/754) > * Upgrade the module to ESM and bump dependencies by [`@danwkennedy`](https://github.com/danwkennedy) in [actions/upload-artifact#762](https://redirect.github.com/actions/upload-artifact/pull/762) > * Support direct file uploads by [`@danwkennedy`](https://github.com/danwkennedy) in [actions/upload-artifact#764](https://redirect.github.com/actions/upload-artifact/pull/764) > > New Contributors > ---------------- > > * [`@Link`](https://github.com/Link)- made their first contribution in [actions/upload-artifact#754](https://redirect.github.com/actions/upload-artifact/pull/754) > > **Full Changelog**: <actions/upload-artifact@v6...v7.0.0> Commits * [`bbbca2d`](actions/upload-artifact@bbbca2d) Support direct file uploads ([#764](https://redirect.github.com/actions/upload-artifact/issues/764)) * [`589182c`](actions/upload-artifact@589182c) Upgrade the module to ESM and bump dependencies ([#762](https://redirect.github.com/actions/upload-artifact/issues/762)) * [`47309c9`](actions/upload-artifact@47309c9) Merge pull request [#754](https://redirect.github.com/actions/upload-artifact/issues/754) from actions/Link-/add-proxy-integration-tests * [`02a8460`](actions/upload-artifact@02a8460) Add proxy integration test * See full diff in [compare view](actions/upload-artifact@b7c566a...bbbca2d) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- actions/checkout v4 -> v6 - actions/upload-artifact v4 -> v7 - SignPath/github-action-submit-signing-request v0.4 -> v2 - Use Direct Uploads feature of upload-artifact v7 actions/upload-artifact#764 - Avoid signing request on pull requests
| # Download Artifact #1 and verify the correctness of the content | ||
| - name: 'Download artifact #1' | ||
| uses: actions/download-artifact@v4 | ||
| uses: actions/download-artifact@main |
There was a problem hiding this comment.
Genuinely curious - why isn't this action pinned to its commit SHA?
There was a problem hiding this comment.
These two actions are intertwined quite a bit. Keeping this test's reference relative helps smoke test
somewhat.
##### [\`v7.0.1\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.1) ##### What's Changed - Update the readme with direct upload details by [@danwkennedy](https://github.com/danwkennedy) in [#795](actions/upload-artifact#795) - Readme: bump all the example versions to v7 by [@danwkennedy](https://github.com/danwkennedy) in [#796](actions/upload-artifact#796) - Include changes in typespec/ts-http-runtime 0.3.5 by [@yacaovsnc](https://github.com/yacaovsnc) in [#797](actions/upload-artifact#797) **Full Changelog**: <actions/upload-artifact@v7...v7.0.1> --- ##### [\`v7.0.0\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.0) #### v7 What's new ##### Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new `archive` parameter to `false` to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The `name` parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ##### ESM To support new versions of the `@actions/*` packages, we've upgraded the package to ESM. #### What's Changed - Add proxy integration test by [@Link-](https://github.com/Link-) in [#754](actions/upload-artifact#754) - Upgrade the module to ESM and bump dependencies by [@danwkennedy](https://github.com/danwkennedy) in [#762](actions/upload-artifact#762) - Support direct file uploads by [@danwkennedy](https://github.com/danwkennedy) in [#764](actions/upload-artifact#764) #### New Contributors - [@Link-](https://github.com/Link-) made their first contribution in [#754](actions/upload-artifact#754) **Full Changelog**: <actions/upload-artifact@v6...v7.0.0> --- ##### [\`v6.0.0\`](actions/upload-artifact@v5.0.0...v6.0.0) --- ##### [\`v5.0.0\`](actions/upload-artifact@v4.6.2...v5.0.0)
Bumps actions/upload-artifact from 6.0.0 to 7.0.1. ## Release notes Sourced from actions/upload-artifact's releases. v7.0.1 What's Changed Update the readme with direct upload details by @danwkennedy in actions/upload-artifact#795 Readme: bump all the example versions to v7 by @danwkennedy in actions/upload-artifact#796 Include changes in typespec/ts-http-runtime 0.3.5 by @yacaovsnc in actions/upload-artifact#797 Full Changelog: actions/upload-artifact@v7...v7.0.1 v7.0.0 v7 What's new Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ESM To support new versions of the @actions/* packages, we've upgraded the package to ESM. What's Changed Add proxy integration test by @Link- in actions/upload-artifact#754 Upgrade the module to ESM and bump dependencies by @danwkennedy in actions/upload-artifact#762 Support direct file uploads by @danwkennedy in actions/upload-artifact#764 New Contributors @Link- made their first contribution in actions/upload-artifact#754 Full Changelog: actions/upload-artifact@v6...v7.0.0 ## Commits 043fb46 Merge pull request #797 from actions/yacaovsnc/update-dependency 634250c Include changes in typespec/ts-http-runtime 0.3.5 e454baa Readme: bump all the example versions to v7 (#796) 74fad66 Update the readme with direct upload details (#795) bbbca2d Support direct file uploads (#764) 589182c Upgrade the module to ESM and bump dependencies (#762) 47309c9 Merge pull request #754 from actions/Link-/add-proxy-integration-tests 02a8460 Add proxy integration test See full diff in compare view  Issue-ID: CIMAN-33 Signed-off-by: dependabot[bot] <[email protected]> Change-Id: I78b5bf8bd3e98ae6b8b92f5be018407e3ee6cb98 GitHub-PR: #181 GitHub-Hash: 2d2b0a53cb03bf7f Signed-off-by: onap.gh2gerrit <[email protected]>
##### [\`v7.0.1\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.1) ##### What's Changed - Update the readme with direct upload details by [@danwkennedy](https://github.com/danwkennedy) in [#795](actions/upload-artifact#795) - Readme: bump all the example versions to v7 by [@danwkennedy](https://github.com/danwkennedy) in [#796](actions/upload-artifact#796) - Include changes in typespec/ts-http-runtime 0.3.5 by [@yacaovsnc](https://github.com/yacaovsnc) in [#797](actions/upload-artifact#797) **Full Changelog**: <actions/upload-artifact@v7...v7.0.1> --- ##### [\`v7.0.0\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.0) #### v7 What's new ##### Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new `archive` parameter to `false` to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The `name` parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ##### ESM To support new versions of the `@actions/*` packages, we've upgraded the package to ESM. #### What's Changed - Add proxy integration test by [@Link-](https://github.com/Link-) in [#754](actions/upload-artifact#754) - Upgrade the module to ESM and bump dependencies by [@danwkennedy](https://github.com/danwkennedy) in [#762](actions/upload-artifact#762) - Support direct file uploads by [@danwkennedy](https://github.com/danwkennedy) in [#764](actions/upload-artifact#764) #### New Contributors - [@Link-](https://github.com/Link-) made their first contribution in [#754](actions/upload-artifact#754) **Full Changelog**: <actions/upload-artifact@v6...v7.0.0> --- ##### [\`v7\`](actions/upload-artifact@v6...v7) --- ##### [\`v6\`](actions/upload-artifact@v5...v6) --- ##### [\`v6.0.0\`](actions/upload-artifact@v5.0.0...v6.0.0) --- ##### [\`v5\`](actions/upload-artifact@v4...v5) --- ##### [\`v5.0.0\`](actions/upload-artifact@v4.6.2...v5.0.0) --- ##### [\`v4.6.2\`](https://github.com/actions/upload-artifact/releases/tag/v4.6.2) #### What's Changed - Update to use artifact 2.3.2 package & prepare for new upload-artifact release by [@salmanmkc](https://github.com/salmanmkc) in [#685](actions/upload-artifact#685) #### New Contributors - [@salmanmkc](https://github.com/salmanmkc) made their first contribution in [#685](actions/upload-artifact#685) **Full Changelog**: <actions/upload-artifact@v4...v4.6.2> --- ##### [\`v4.6.1\`](https://github.com/actions/upload-artifact/releases/tag/v4.6.1) #### What's Changed - Update to use artifact 2.2.2 package by [@yacaovsnc](https://github.com/yacaovsnc) in [#673](actions/upload-artifact#673) **Full Changelog**: <actions/upload-artifact@v4...v4.6.1> --- ##### [\`v4.6.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.6.0) #### What's Changed - Expose env vars to control concurrency and timeout by [@yacaovsnc](https://github.com/yacaovsnc) in [#662](actions/upload-artifact#662) **Full Changelog**: <actions/upload-artifact@v4...v4.6.0> --- ##### [\`v4.5.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.5.0) #### What's Changed - fix: deprecated `Node.js` version in action by [@hamirmahal](https://github.com/hamirmahal) in [#578](actions/upload-artifact#578) - Add new `artifact-digest` output by [@bdehamer](https://github.com/bdehamer) in [#656](actions/upload-artifact#656) #### New Contributors - [@hamirmahal](https://github.com/hamirmahal) made their first contribution in [#578](actions/upload-artifact#578) - [@bdehamer](https://github.com/bdehamer) made their first contribution in [#656](actions/upload-artifact#656) **Full Changelog**: <actions/upload-artifact@v4.4.3...v4.5.0> --- ##### [\`v4.4.3\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.3) #### What's Changed - Undo indirect dependency updates from [#627](actions/upload-artifact#627) by [@joshmgross](https://github.com/joshmgross) in [#632](actions/upload-artifact#632) **Full Changelog**: <actions/upload-artifact@v4.4.2...v4.4.3> --- ##### [\`v4.4.2\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.2) #### What's Changed - Bump `@actions/artifact` to 2.1.11 by [@robherley](https://github.com/robherley) in [#627](actions/upload-artifact#627) - Includes fix for relative symlinks not resolving properly **Full Changelog**: <actions/upload-artifact@v4.4.1...v4.4.2> --- ##### [\`v4.4.1\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.1) #### What's Changed - Add a section about hidden files by [@joshmgross](https://github.com/joshmgross) in [#607](actions/upload-artifact#607) - Add workflow file for publishing releases to immutable action package by [@Jcambass](https://github.com/Jcambass) in [#621](actions/upload-artifact#621) - Update [@actions/artifact](https://github.com/actions/artifact) to latest version, includes symlink and timeout fixes by [@robherley](https://github.com/robherley) in [#625](actions/upload-artifact#625) #### New Contributors - [@Jcambass](https://github.com/Jcambass) made their first contribution in [#621](actions/upload-artifact#621) **Full Changelog**: <actions/upload-artifact@v4.4.0...v4.4.1> --- ##### [\`v4.4.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.0) #### Notice: Breaking Changes⚠️ We will no longer include hidden files and folders by default in the `upload-artifact` action of this version. This reduces the risk that credentials are accidentally uploaded into artifacts. Customers who need to continue to upload these files can use a new option, `include-hidden-files`, to continue to do so. See ["Notice of upcoming deprecations and breaking changes in GitHub Actions runners"](https://github.blog/changelog/2024-08-19-notice-of-upcoming-deprecations-and-breaking-changes-in-github-actions-runners/) changelog and [this issue](actions/upload-artifact#602) for more details. #### What's Changed - Exclude hidden files by default by [@joshmgross](https://github.com/joshmgross) in [#598](actions/upload-artifact#598) **Full Changelog**: <actions/upload-artifact@v4.3.6...v4.4.0> --- ##### [\`v4.3.6\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.6) #### What's Changed - Revert to [@actions/artifact](https://github.com/actions/artifact) 2.1.8 by [@robherley](https://github.com/robherley) in [#594](actions/upload-artifact#594) **Full Changelog**: <actions/upload-artifact@v4...v4.3.6> --- ##### [\`v4.3.5\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.5) #### What's Changed - Bump [@actions/artifact](https://github.com/actions/artifact) to v2.1.9 by [@robherley](https://github.com/robherley) in [#588](actions/upload-artifact#588) - Fixed artifact upload chunk timeout logic [#1774](actions/toolkit#1774) - Use lazy stream to prevent issues with open file limits [#1771](actions/toolkit#1771) **Full Changelog**: <actions/upload-artifact@v4.3.4...v4.3.5> --- ##### [\`v4.3.4\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.4) #### What's Changed - Update [@actions/artifact](https://github.com/actions/artifact) version, bump dependencies by [@robherley](https://github.com/robherley) in [#584](actions/upload-artifact#584) **Full Changelog**: <actions/upload-artifact@v4.3.3...v4.3.4> --- ##### [\`v4.3.3\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.3) #### What's Changed - updating `@actions/artifact` dependency to v2.1.6 by [@eggyhead](https://github.com/eggyhead) in [#565](actions/upload-artifact#565) **Full Changelog**: <actions/upload-artifact@v4.3.2...v4.3.3> --- ##### [\`v4.3.2\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.2) #### What's Changed - Update release-new-action-version.yml by [@konradpabjan](https://github.com/konradpabjan) in [#516](actions/upload-artifact#516) - Minor fix to the migration readme by [@andrewakim](https://github.com/andrewakim) in [#523](actions/upload-artifact#523) - Update readme with v3/v2/v1 deprecation notice by [@robherley](https://github.com/robherley) in [#561](actions/upload-artifact#561) - updating `@actions/artifact` dependency to v2.1.5 and `@actions/core` to v1.0.1 by [@eggyhead](https://github.com/eggyhead) in [#562](actions/upload-artifact#562) #### New Contributors - [@andrewakim](https://github.com/andrewakim) made their first contribution in [#523](actions/upload-artifact#523) **Full Changelog**: <actions/upload-artifact@v4.3.1...v4.3.2> --- ##### [\`v4.3.1\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.1) - Bump [@actions/artifacts](https://github.com/actions/artifacts) to latest version to include [updated GHES host check](actions/toolkit#1648) --- ##### [\`v4.3.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.0) #### What's Changed - Reorganize upload code in prep for merge logic & add more tests by [@robherley](https://github.com/robherley) in [#504](actions/upload-artifact#504) - Add sub-action to merge artifacts by [@robherley](https://github.com/robherley) in [#505](actions/upload-artifact#505) **Full Changelog**: <actions/upload-artifact@v4...v4.3.0> --- ##### [\`v4.2.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.2.0) #### What's Changed - Ability to overwrite an Artifact by [@robherley](https://github.com/robherley) in [#501](actions/upload-artifact#501) **Full Changelog**: <actions/upload-artifact@v4...v4.2.0> --- ##### [\`v4.1.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.1.0) #### What's Changed - Add migrations docs by [@robherley](https://github.com/robherley) in [#482](actions/upload-artifact#482) - Update README.md by [@samuelwine](https://github.com/samuelwine) in [#492](actions/upload-artifact#492) - Support artifact-url output by [@konradpabjan](https://github.com/konradpabjan) in [#496](actions/upload-artifact#496) - Update readme to reflect new 500 artifact per job limit by [@robherley](https://github.com/robherley) in [#497](actions/upload-artifact#497) #### New Contributors - [@samuelwine](https://github.com/samuelwine) made their first contribution in [#492](actions/upload-artifact#492) **Full Changelog**: <actions/upload-artifact@v4...v4.1.0>
##### [\`v7.0.1\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.1) ##### What's Changed - Update the readme with direct upload details by [@danwkennedy](https://github.com/danwkennedy) in [#795](actions/upload-artifact#795) - Readme: bump all the example versions to v7 by [@danwkennedy](https://github.com/danwkennedy) in [#796](actions/upload-artifact#796) - Include changes in typespec/ts-http-runtime 0.3.5 by [@yacaovsnc](https://github.com/yacaovsnc) in [#797](actions/upload-artifact#797) **Full Changelog**: <actions/upload-artifact@v7...v7.0.1> --- ##### [\`v7.0.0\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.0) #### v7 What's new ##### Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new `archive` parameter to `false` to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The `name` parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ##### ESM To support new versions of the `@actions/*` packages, we've upgraded the package to ESM. #### What's Changed - Add proxy integration test by [@Link-](https://github.com/Link-) in [#754](actions/upload-artifact#754) - Upgrade the module to ESM and bump dependencies by [@danwkennedy](https://github.com/danwkennedy) in [#762](actions/upload-artifact#762) - Support direct file uploads by [@danwkennedy](https://github.com/danwkennedy) in [#764](actions/upload-artifact#764) #### New Contributors - [@Link-](https://github.com/Link-) made their first contribution in [#754](actions/upload-artifact#754) **Full Changelog**: <actions/upload-artifact@v6...v7.0.0> --- ##### [\`v7\`](actions/upload-artifact@v6...v7) --- ##### [\`v6.0.0\`](actions/upload-artifact@v5.0.0...v6.0.0) --- ##### [\`v6\`](actions/upload-artifact@v5...v6) --- ##### [\`v5.0.0\`](actions/upload-artifact@v4.6.2...v5.0.0) --- ##### [\`v5\`](actions/upload-artifact@v4...v5) --- ##### [\`v4.6.2\`](https://github.com/actions/upload-artifact/releases/tag/v4.6.2) #### What's Changed - Update to use artifact 2.3.2 package & prepare for new upload-artifact release by [@salmanmkc](https://github.com/salmanmkc) in [#685](actions/upload-artifact#685) #### New Contributors - [@salmanmkc](https://github.com/salmanmkc) made their first contribution in [#685](actions/upload-artifact#685) **Full Changelog**: <actions/upload-artifact@v4...v4.6.2> --- ##### [\`v4.6.1\`](https://github.com/actions/upload-artifact/releases/tag/v4.6.1) #### What's Changed - Update to use artifact 2.2.2 package by [@yacaovsnc](https://github.com/yacaovsnc) in [#673](actions/upload-artifact#673) **Full Changelog**: <actions/upload-artifact@v4...v4.6.1> --- ##### [\`v4.6.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.6.0) #### What's Changed - Expose env vars to control concurrency and timeout by [@yacaovsnc](https://github.com/yacaovsnc) in [#662](actions/upload-artifact#662) **Full Changelog**: <actions/upload-artifact@v4...v4.6.0> --- ##### [\`v4.5.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.5.0) #### What's Changed - fix: deprecated `Node.js` version in action by [@hamirmahal](https://github.com/hamirmahal) in [#578](actions/upload-artifact#578) - Add new `artifact-digest` output by [@bdehamer](https://github.com/bdehamer) in [#656](actions/upload-artifact#656) #### New Contributors - [@hamirmahal](https://github.com/hamirmahal) made their first contribution in [#578](actions/upload-artifact#578) - [@bdehamer](https://github.com/bdehamer) made their first contribution in [#656](actions/upload-artifact#656) **Full Changelog**: <actions/upload-artifact@v4.4.3...v4.5.0> --- ##### [\`v4.4.3\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.3) #### What's Changed - Undo indirect dependency updates from [#627](actions/upload-artifact#627) by [@joshmgross](https://github.com/joshmgross) in [#632](actions/upload-artifact#632) **Full Changelog**: <actions/upload-artifact@v4.4.2...v4.4.3> --- ##### [\`v4.4.2\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.2) #### What's Changed - Bump `@actions/artifact` to 2.1.11 by [@robherley](https://github.com/robherley) in [#627](actions/upload-artifact#627) - Includes fix for relative symlinks not resolving properly **Full Changelog**: <actions/upload-artifact@v4.4.1...v4.4.2> --- ##### [\`v4.4.1\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.1) #### What's Changed - Add a section about hidden files by [@joshmgross](https://github.com/joshmgross) in [#607](actions/upload-artifact#607) - Add workflow file for publishing releases to immutable action package by [@Jcambass](https://github.com/Jcambass) in [#621](actions/upload-artifact#621) - Update [@actions/artifact](https://github.com/actions/artifact) to latest version, includes symlink and timeout fixes by [@robherley](https://github.com/robherley) in [#625](actions/upload-artifact#625) #### New Contributors - [@Jcambass](https://github.com/Jcambass) made their first contribution in [#621](actions/upload-artifact#621) **Full Changelog**: <actions/upload-artifact@v4.4.0...v4.4.1> --- ##### [\`v4.4.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.0) #### Notice: Breaking Changes⚠️ We will no longer include hidden files and folders by default in the `upload-artifact` action of this version. This reduces the risk that credentials are accidentally uploaded into artifacts. Customers who need to continue to upload these files can use a new option, `include-hidden-files`, to continue to do so. See ["Notice of upcoming deprecations and breaking changes in GitHub Actions runners"](https://github.blog/changelog/2024-08-19-notice-of-upcoming-deprecations-and-breaking-changes-in-github-actions-runners/) changelog and [this issue](actions/upload-artifact#602) for more details. #### What's Changed - Exclude hidden files by default by [@joshmgross](https://github.com/joshmgross) in [#598](actions/upload-artifact#598) **Full Changelog**: <actions/upload-artifact@v4.3.6...v4.4.0> --- ##### [\`v4.3.6\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.6) #### What's Changed - Revert to [@actions/artifact](https://github.com/actions/artifact) 2.1.8 by [@robherley](https://github.com/robherley) in [#594](actions/upload-artifact#594) **Full Changelog**: <actions/upload-artifact@v4...v4.3.6> --- ##### [\`v4.3.5\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.5) #### What's Changed - Bump [@actions/artifact](https://github.com/actions/artifact) to v2.1.9 by [@robherley](https://github.com/robherley) in [#588](actions/upload-artifact#588) - Fixed artifact upload chunk timeout logic [#1774](actions/toolkit#1774) - Use lazy stream to prevent issues with open file limits [#1771](actions/toolkit#1771) **Full Changelog**: <actions/upload-artifact@v4.3.4...v4.3.5> --- ##### [\`v4.3.4\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.4) #### What's Changed - Update [@actions/artifact](https://github.com/actions/artifact) version, bump dependencies by [@robherley](https://github.com/robherley) in [#584](actions/upload-artifact#584) **Full Changelog**: <actions/upload-artifact@v4.3.3...v4.3.4> --- ##### [\`v4.3.3\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.3) #### What's Changed - updating `@actions/artifact` dependency to v2.1.6 by [@eggyhead](https://github.com/eggyhead) in [#565](actions/upload-artifact#565) **Full Changelog**: <actions/upload-artifact@v4.3.2...v4.3.3> --- ##### [\`v4.3.2\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.2) #### What's Changed - Update release-new-action-version.yml by [@konradpabjan](https://github.com/konradpabjan) in [#516](actions/upload-artifact#516) - Minor fix to the migration readme by [@andrewakim](https://github.com/andrewakim) in [#523](actions/upload-artifact#523) - Update readme with v3/v2/v1 deprecation notice by [@robherley](https://github.com/robherley) in [#561](actions/upload-artifact#561) - updating `@actions/artifact` dependency to v2.1.5 and `@actions/core` to v1.0.1 by [@eggyhead](https://github.com/eggyhead) in [#562](actions/upload-artifact#562) #### New Contributors - [@andrewakim](https://github.com/andrewakim) made their first contribution in [#523](actions/upload-artifact#523) **Full Changelog**: <actions/upload-artifact@v4.3.1...v4.3.2> --- ##### [\`v4.3.1\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.1) - Bump [@actions/artifacts](https://github.com/actions/artifacts) to latest version to include [updated GHES host check](actions/toolkit#1648) --- ##### [\`v4.3.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.0) #### What's Changed - Reorganize upload code in prep for merge logic & add more tests by [@robherley](https://github.com/robherley) in [#504](actions/upload-artifact#504) - Add sub-action to merge artifacts by [@robherley](https://github.com/robherley) in [#505](actions/upload-artifact#505) **Full Changelog**: <actions/upload-artifact@v4...v4.3.0> --- ##### [\`v4.2.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.2.0) #### What's Changed - Ability to overwrite an Artifact by [@robherley](https://github.com/robherley) in [#501](actions/upload-artifact#501) **Full Changelog**: <actions/upload-artifact@v4...v4.2.0> --- ##### [\`v4.1.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.1.0) #### What's Changed - Add migrations docs by [@robherley](https://github.com/robherley) in [#482](actions/upload-artifact#482) - Update README.md by [@samuelwine](https://github.com/samuelwine) in [#492](actions/upload-artifact#492) - Support artifact-url output by [@konradpabjan](https://github.com/konradpabjan) in [#496](actions/upload-artifact#496) - Update readme to reflect new 500 artifact per job limit by [@robherley](https://github.com/robherley) in [#497](actions/upload-artifact#497) #### New Contributors - [@samuelwine](https://github.com/samuelwine) made their first contribution in [#492](actions/upload-artifact#492) **Full Changelog**: <actions/upload-artifact@v4...v4.1.0>
##### [\`v7.0.1\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.1) ##### What's Changed - Update the readme with direct upload details by [@danwkennedy](https://github.com/danwkennedy) in [#795](actions/upload-artifact#795) - Readme: bump all the example versions to v7 by [@danwkennedy](https://github.com/danwkennedy) in [#796](actions/upload-artifact#796) - Include changes in typespec/ts-http-runtime 0.3.5 by [@yacaovsnc](https://github.com/yacaovsnc) in [#797](actions/upload-artifact#797) **Full Changelog**: <actions/upload-artifact@v7...v7.0.1> --- ##### [\`v7.0.0\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.0) #### v7 What's new ##### Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new `archive` parameter to `false` to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The `name` parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ##### ESM To support new versions of the `@actions/*` packages, we've upgraded the package to ESM. #### What's Changed - Add proxy integration test by [@Link-](https://github.com/Link-) in [#754](actions/upload-artifact#754) - Upgrade the module to ESM and bump dependencies by [@danwkennedy](https://github.com/danwkennedy) in [#762](actions/upload-artifact#762) - Support direct file uploads by [@danwkennedy](https://github.com/danwkennedy) in [#764](actions/upload-artifact#764) #### New Contributors - [@Link-](https://github.com/Link-) made their first contribution in [#754](actions/upload-artifact#754) **Full Changelog**: <actions/upload-artifact@v6...v7.0.0> --- ##### [\`v7\`](actions/upload-artifact@v6...v7) --- ##### [\`v6.0.0\`](actions/upload-artifact@v5.0.0...v6.0.0) --- ##### [\`v6\`](actions/upload-artifact@v5...v6) --- ##### [\`v5.0.0\`](actions/upload-artifact@v4.6.2...v5.0.0) --- ##### [\`v5\`](actions/upload-artifact@v4...v5) --- ##### [\`v4.6.2\`](https://github.com/actions/upload-artifact/releases/tag/v4.6.2) #### What's Changed - Update to use artifact 2.3.2 package & prepare for new upload-artifact release by [@salmanmkc](https://github.com/salmanmkc) in [#685](actions/upload-artifact#685) #### New Contributors - [@salmanmkc](https://github.com/salmanmkc) made their first contribution in [#685](actions/upload-artifact#685) **Full Changelog**: <actions/upload-artifact@v4...v4.6.2> --- ##### [\`v4.6.1\`](https://github.com/actions/upload-artifact/releases/tag/v4.6.1) #### What's Changed - Update to use artifact 2.2.2 package by [@yacaovsnc](https://github.com/yacaovsnc) in [#673](actions/upload-artifact#673) **Full Changelog**: <actions/upload-artifact@v4...v4.6.1> --- ##### [\`v4.6.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.6.0) #### What's Changed - Expose env vars to control concurrency and timeout by [@yacaovsnc](https://github.com/yacaovsnc) in [#662](actions/upload-artifact#662) **Full Changelog**: <actions/upload-artifact@v4...v4.6.0> --- ##### [\`v4.5.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.5.0) #### What's Changed - fix: deprecated `Node.js` version in action by [@hamirmahal](https://github.com/hamirmahal) in [#578](actions/upload-artifact#578) - Add new `artifact-digest` output by [@bdehamer](https://github.com/bdehamer) in [#656](actions/upload-artifact#656) #### New Contributors - [@hamirmahal](https://github.com/hamirmahal) made their first contribution in [#578](actions/upload-artifact#578) - [@bdehamer](https://github.com/bdehamer) made their first contribution in [#656](actions/upload-artifact#656) **Full Changelog**: <actions/upload-artifact@v4.4.3...v4.5.0> --- ##### [\`v4.4.3\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.3) #### What's Changed - Undo indirect dependency updates from [#627](actions/upload-artifact#627) by [@joshmgross](https://github.com/joshmgross) in [#632](actions/upload-artifact#632) **Full Changelog**: <actions/upload-artifact@v4.4.2...v4.4.3> --- ##### [\`v4.4.2\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.2) #### What's Changed - Bump `@actions/artifact` to 2.1.11 by [@robherley](https://github.com/robherley) in [#627](actions/upload-artifact#627) - Includes fix for relative symlinks not resolving properly **Full Changelog**: <actions/upload-artifact@v4.4.1...v4.4.2> --- ##### [\`v4.4.1\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.1) #### What's Changed - Add a section about hidden files by [@joshmgross](https://github.com/joshmgross) in [#607](actions/upload-artifact#607) - Add workflow file for publishing releases to immutable action package by [@Jcambass](https://github.com/Jcambass) in [#621](actions/upload-artifact#621) - Update [@actions/artifact](https://github.com/actions/artifact) to latest version, includes symlink and timeout fixes by [@robherley](https://github.com/robherley) in [#625](actions/upload-artifact#625) #### New Contributors - [@Jcambass](https://github.com/Jcambass) made their first contribution in [#621](actions/upload-artifact#621) **Full Changelog**: <actions/upload-artifact@v4.4.0...v4.4.1> --- ##### [\`v4.4.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.4.0) #### Notice: Breaking Changes⚠️ We will no longer include hidden files and folders by default in the `upload-artifact` action of this version. This reduces the risk that credentials are accidentally uploaded into artifacts. Customers who need to continue to upload these files can use a new option, `include-hidden-files`, to continue to do so. See ["Notice of upcoming deprecations and breaking changes in GitHub Actions runners"](https://github.blog/changelog/2024-08-19-notice-of-upcoming-deprecations-and-breaking-changes-in-github-actions-runners/) changelog and [this issue](actions/upload-artifact#602) for more details. #### What's Changed - Exclude hidden files by default by [@joshmgross](https://github.com/joshmgross) in [#598](actions/upload-artifact#598) **Full Changelog**: <actions/upload-artifact@v4.3.6...v4.4.0> --- ##### [\`v4.3.6\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.6) #### What's Changed - Revert to [@actions/artifact](https://github.com/actions/artifact) 2.1.8 by [@robherley](https://github.com/robherley) in [#594](actions/upload-artifact#594) **Full Changelog**: <actions/upload-artifact@v4...v4.3.6> --- ##### [\`v4.3.5\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.5) #### What's Changed - Bump [@actions/artifact](https://github.com/actions/artifact) to v2.1.9 by [@robherley](https://github.com/robherley) in [#588](actions/upload-artifact#588) - Fixed artifact upload chunk timeout logic [#1774](actions/toolkit#1774) - Use lazy stream to prevent issues with open file limits [#1771](actions/toolkit#1771) **Full Changelog**: <actions/upload-artifact@v4.3.4...v4.3.5> --- ##### [\`v4.3.4\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.4) #### What's Changed - Update [@actions/artifact](https://github.com/actions/artifact) version, bump dependencies by [@robherley](https://github.com/robherley) in [#584](actions/upload-artifact#584) **Full Changelog**: <actions/upload-artifact@v4.3.3...v4.3.4> --- ##### [\`v4.3.3\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.3) #### What's Changed - updating `@actions/artifact` dependency to v2.1.6 by [@eggyhead](https://github.com/eggyhead) in [#565](actions/upload-artifact#565) **Full Changelog**: <actions/upload-artifact@v4.3.2...v4.3.3> --- ##### [\`v4.3.2\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.2) #### What's Changed - Update release-new-action-version.yml by [@konradpabjan](https://github.com/konradpabjan) in [#516](actions/upload-artifact#516) - Minor fix to the migration readme by [@andrewakim](https://github.com/andrewakim) in [#523](actions/upload-artifact#523) - Update readme with v3/v2/v1 deprecation notice by [@robherley](https://github.com/robherley) in [#561](actions/upload-artifact#561) - updating `@actions/artifact` dependency to v2.1.5 and `@actions/core` to v1.0.1 by [@eggyhead](https://github.com/eggyhead) in [#562](actions/upload-artifact#562) #### New Contributors - [@andrewakim](https://github.com/andrewakim) made their first contribution in [#523](actions/upload-artifact#523) **Full Changelog**: <actions/upload-artifact@v4.3.1...v4.3.2> --- ##### [\`v4.3.1\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.1) - Bump [@actions/artifacts](https://github.com/actions/artifacts) to latest version to include [updated GHES host check](actions/toolkit#1648) --- ##### [\`v4.3.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.3.0) #### What's Changed - Reorganize upload code in prep for merge logic & add more tests by [@robherley](https://github.com/robherley) in [#504](actions/upload-artifact#504) - Add sub-action to merge artifacts by [@robherley](https://github.com/robherley) in [#505](actions/upload-artifact#505) **Full Changelog**: <actions/upload-artifact@v4...v4.3.0> --- ##### [\`v4.2.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.2.0) #### What's Changed - Ability to overwrite an Artifact by [@robherley](https://github.com/robherley) in [#501](actions/upload-artifact#501) **Full Changelog**: <actions/upload-artifact@v4...v4.2.0> --- ##### [\`v4.1.0\`](https://github.com/actions/upload-artifact/releases/tag/v4.1.0) #### What's Changed - Add migrations docs by [@robherley](https://github.com/robherley) in [#482](actions/upload-artifact#482) - Update README.md by [@samuelwine](https://github.com/samuelwine) in [#492](actions/upload-artifact#492) - Support artifact-url output by [@konradpabjan](https://github.com/konradpabjan) in [#496](actions/upload-artifact#496) - Update readme to reflect new 500 artifact per job limit by [@robherley](https://github.com/robherley) in [#497](actions/upload-artifact#497) #### New Contributors - [@samuelwine](https://github.com/samuelwine) made their first contribution in [#492](actions/upload-artifact#492) **Full Changelog**: <actions/upload-artifact@v4...v4.1.0>
##### [\`v7.0.1\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.1) ##### What's Changed - Update the readme with direct upload details by [@danwkennedy](https://github.com/danwkennedy) in [#795](actions/upload-artifact#795) - Readme: bump all the example versions to v7 by [@danwkennedy](https://github.com/danwkennedy) in [#796](actions/upload-artifact#796) - Include changes in typespec/ts-http-runtime 0.3.5 by [@yacaovsnc](https://github.com/yacaovsnc) in [#797](actions/upload-artifact#797) **Full Changelog**: <actions/upload-artifact@v7...v7.0.1> --- ##### [\`v7.0.0\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.0) #### v7 What's new ##### Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new `archive` parameter to `false` to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The `name` parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ##### ESM To support new versions of the `@actions/*` packages, we've upgraded the package to ESM. #### What's Changed - Add proxy integration test by [@Link-](https://github.com/Link-) in [#754](actions/upload-artifact#754) - Upgrade the module to ESM and bump dependencies by [@danwkennedy](https://github.com/danwkennedy) in [#762](actions/upload-artifact#762) - Support direct file uploads by [@danwkennedy](https://github.com/danwkennedy) in [#764](actions/upload-artifact#764) #### New Contributors - [@Link-](https://github.com/Link-) made their first contribution in [#754](actions/upload-artifact#754) **Full Changelog**: <actions/upload-artifact@v6...v7.0.0> --- ##### [\`v7\`](actions/upload-artifact@v6...v7) --- ##### [\`v6.0.0\`](actions/upload-artifact@v5.0.0...v6.0.0) --- ##### [\`v6\`](actions/upload-artifact@v5...v6) --- ##### [\`v5.0.0\`](actions/upload-artifact@v4.6.2...v5.0.0) --- ##### [\`v5\`](actions/upload-artifact@v4...v5)
## Release notes Sourced from actions/upload-artifact's releases. v7.0.0 v7 What's new Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ESM To support new versions of the @actions/* packages, we've upgraded the package to ESM. What's Changed Add proxy integration test by @Link- in actions/upload-artifact#754 Upgrade the module to ESM and bump dependencies by @danwkennedy in actions/upload-artifact#762 Support direct file uploads by @danwkennedy in actions/upload-artifact#764 New Contributors @Link- made their first contribution in actions/upload-artifact#754 Full Changelog: actions/upload-artifact@v6...v7.0.0 v6.0.0 v6 - What's new [!IMPORTANT] actions/upload-artifact@v6 now runs on Node.js 24 (runs.using: node24) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading. Node.js 24 This release updates the runtime to Node.js 24. v5 had preliminary support for Node.js 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24. What's Changed Upload Artifact Node 24 support by @salmanmkc in actions/upload-artifact#719 fix: update @actions/artifact for Node.js 24 punycode deprecation by @salmanmkc in actions/upload-artifact#744 prepare release v6.0.0 for Node.js 24 support by @salmanmkc in actions/upload-artifact#745 Full Changelog: actions/upload-artifact@v5.0.0...v6.0.0 v5.0.0 What's Changed BREAKING CHANGE: this update supports Node v24.x. This is not a breaking change per-se but we're treating it as such. Update README.md by @GhadimiR in actions/upload-artifact#681 Update README.md by @nebuk89 in actions/upload-artifact#712 Readme: spell out the first use of GHES by @danwkennedy in actions/upload-artifact#727 Update GHES guidance to include reference to Node 20 version by @patrikpolyak in actions/upload-artifact#725 Bump @actions/artifact to v4.0.0 Prepare v5.0.0 by @danwkennedy in actions/upload-artifact#734 ... (truncated) ## Commits 043fb46 Merge pull request #797 from actions/yacaovsnc/update-dependency 634250c Include changes in typespec/ts-http-runtime 0.3.5 e454baa Readme: bump all the example versions to v7 (#796) 74fad66 Update the readme with direct upload details (#795) bbbca2d Support direct file uploads (#764) 589182c Upgrade the module to ESM and bump dependencies (#762) 47309c9 Merge pull request #754 from actions/Link-/add-proxy-integration-tests 02a8460 Add proxy integration test b7c566a Merge pull request #745 from actions/upload-artifact-v6-release e516bc8 docs: correct description of Node.js 24 support in README Additional commits viewable in compare view  Issue-ID: CIMAN-33 Signed-off-by: dependabot[bot] <[email protected]> Change-Id: I07221a26e7aaa8f7f5475284298d6049e399aa8d GitHub-PR: #9 GitHub-Hash: a63b8c13c7da0262 Signed-off-by: onap.gh2gerrit <[email protected]>
##### [\`v7.0.1\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.1) #### What's Changed - Update the readme with direct upload details by [@danwkennedy](https://github.com/danwkennedy) in [#795](actions/upload-artifact#795) - Readme: bump all the example versions to v7 by [@danwkennedy](https://github.com/danwkennedy) in [#796](actions/upload-artifact#796) - Include changes in typespec/ts-http-runtime 0.3.5 by [@yacaovsnc](https://github.com/yacaovsnc) in [#797](actions/upload-artifact#797) **Full Changelog**: <actions/upload-artifact@v7...v7.0.1> --- ##### [\`v7.0.0\`](https://github.com/actions/upload-artifact/releases/tag/v7.0.0) #### v7 What's new ##### Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new `archive` parameter to `false` to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The `name` parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ##### ESM To support new versions of the `@actions/*` packages, we've upgraded the package to ESM. #### What's Changed - Add proxy integration test by [@Link-](https://github.com/Link-) in [#754](actions/upload-artifact#754) - Upgrade the module to ESM and bump dependencies by [@danwkennedy](https://github.com/danwkennedy) in [#762](actions/upload-artifact#762) - Support direct file uploads by [@danwkennedy](https://github.com/danwkennedy) in [#764](actions/upload-artifact#764) #### New Contributors - [@Link-](https://github.com/Link-) made their first contribution in [#754](actions/upload-artifact#754) **Full Changelog**: <actions/upload-artifact@v6...v7.0.0> --- ##### [\`v7\`](actions/upload-artifact@v6.0.0...v7) --- ##### [\`v6.0.0\`](https://github.com/actions/upload-artifact/releases/tag/v6.0.0) #### v6 - What's new > \[!IMPORTANT] > actions/upload-artifact\@v6 now runs on Node.js 24 (`runs.using: node24`) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading. ##### Node.js 24 This release updates the runtime to Node.js 24. v5 had preliminary support for Node.js 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24. #### What's Changed - Upload Artifact Node 24 support by [@salmanmkc](https://github.com/salmanmkc) in [#719](actions/upload-artifact#719) - fix: update [@actions/artifact](https://github.com/actions/artifact) for Node.js 24 punycode deprecation by [@salmanmkc](https://github.com/salmanmkc) in [#744](actions/upload-artifact#744) - prepare release v6.0.0 for Node.js 24 support by [@salmanmkc](https://github.com/salmanmkc) in [#745](actions/upload-artifact#745) **Full Changelog**: <actions/upload-artifact@v5.0.0...v6.0.0> --- ##### [\`v6\`](actions/upload-artifact@v5.0.0...v6.0.0) --- ##### [\`v5.0.0\`](https://github.com/actions/upload-artifact/releases/tag/v5.0.0) #### What's Changed **BREAKING CHANGE:** this update supports Node `v24.x`. This is not a breaking change per-se but we're treating it as such. - Update README.md by [@GhadimiR](https://github.com/GhadimiR) in [#681](actions/upload-artifact#681) - Update README.md by [@nebuk89](https://github.com/nebuk89) in [#712](actions/upload-artifact#712) - Readme: spell out the first use of GHES by [@danwkennedy](https://github.com/danwkennedy) in [#727](actions/upload-artifact#727) - Update GHES guidance to include reference to Node 20 version by [@patrikpolyak](https://github.com/patrikpolyak) in [#725](actions/upload-artifact#725) - Bump `@actions/artifact` to `v4.0.0` - Prepare `v5.0.0` by [@danwkennedy](https://github.com/danwkennedy) in [#734](actions/upload-artifact#734) #### New Contributors - [@GhadimiR](https://github.com/GhadimiR) made their first contribution in [#681](actions/upload-artifact#681) - [@nebuk89](https://github.com/nebuk89) made their first contribution in [#712](actions/upload-artifact#712) - [@danwkennedy](https://github.com/danwkennedy) made their first contribution in [#727](actions/upload-artifact#727) - [@patrikpolyak](https://github.com/patrikpolyak) made their first contribution in [#725](actions/upload-artifact#725) **Full Changelog**: <actions/upload-artifact@v4...v5.0.0> --- ##### [\`v5\`](actions/upload-artifact@v4.6.2...v5.0.0)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/upload-artifact](https://github.com/actions/upload-artifact) | action | major | `v3` → `v7` | --- ### Release Notes <details> <summary>actions/upload-artifact (actions/upload-artifact)</summary> ### [`v7.0.1`](https://github.com/actions/upload-artifact/releases/tag/v7.0.1) [Compare Source](actions/upload-artifact@v7...v7.0.1) #### What's Changed - Update the readme with direct upload details by [@​danwkennedy](https://github.com/danwkennedy) in [#​795](actions/upload-artifact#795) - Readme: bump all the example versions to v7 by [@​danwkennedy](https://github.com/danwkennedy) in [#​796](actions/upload-artifact#796) - Include changes in typespec/ts-http-runtime 0.3.5 by [@​yacaovsnc](https://github.com/yacaovsnc) in [#​797](actions/upload-artifact#797) **Full Changelog**: <actions/upload-artifact@v7...v7.0.1> ### [`v7.0.0`](https://github.com/actions/upload-artifact/releases/tag/v7.0.0) [Compare Source](actions/upload-artifact@v7...v7) #### v7 What's new ##### Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new `archive` parameter to `false` to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The `name` parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ##### ESM To support new versions of the `@actions/*` packages, we've upgraded the package to ESM. #### What's Changed - Add proxy integration test by [@​Link-](https://github.com/Link-) in [#​754](actions/upload-artifact#754) - Upgrade the module to ESM and bump dependencies by [@​danwkennedy](https://github.com/danwkennedy) in [#​762](actions/upload-artifact#762) - Support direct file uploads by [@​danwkennedy](https://github.com/danwkennedy) in [#​764](actions/upload-artifact#764) #### New Contributors - [@​Link-](https://github.com/Link-) made their first contribution in [#​754](actions/upload-artifact#754) **Full Changelog**: <actions/upload-artifact@v6...v7.0.0> ### [`v7`](actions/upload-artifact@v6.0.0...v7) [Compare Source](actions/upload-artifact@v6.0.0...v7) ### [`v6.0.0`](https://github.com/actions/upload-artifact/releases/tag/v6.0.0) [Compare Source](actions/upload-artifact@v6.0.0...v6.0.0) #### v6 - What's new > \[!IMPORTANT] > actions/upload-artifact\@​v6 now runs on Node.js 24 (`runs.using: node24`) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading. ##### Node.js 24 This release updates the runtime to Node.js 24. v5 had preliminary support for Node.js 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24. #### What's Changed - Upload Artifact Node 24 support by [@​salmanmkc](https://github.com/salmanmkc) in [#​719](actions/upload-artifact#719) - fix: update [@​actions/artifact](https://github.com/actions/artifact) for Node.js 24 punycode deprecation by [@​salmanmkc](https://github.com/salmanmkc) in [#​744](actions/upload-artifact#744) - prepare release v6.0.0 for Node.js 24 support by [@​salmanmkc](https://github.com/salmanmkc) in [#​745](actions/upload-artifact#745) **Full Changelog**: <actions/upload-artifact@v5.0.0...v6.0.0> ### [`v6`](actions/upload-artifact@v5.0.0...v6.0.0) [Compare Source](actions/upload-artifact@v5.0.0...v6.0.0) ### [`v5.0.0`](https://github.com/actions/upload-artifact/releases/tag/v5.0.0) [Compare Source](actions/upload-artifact@v5.0.0...v5.0.0) #### What's Changed **BREAKING CHANGE:** this update supports Node `v24.x`. This is not a breaking change per-se but we're treating it as such. - Update README.md by [@​GhadimiR](https://github.com/GhadimiR) in [#​681](actions/upload-artifact#681) - Update README.md by [@​nebuk89](https://github.com/nebuk89) in [#​712](actions/upload-artifact#712) - Readme: spell out the first use of GHES by [@​danwkennedy](https://github.com/danwkennedy) in [#​727](actions/upload-artifact#727) - Update GHES guidance to include reference to Node 20 version by [@​patrikpolyak](https://github.com/patrikpolyak) in [#​725](actions/upload-artifact#725) - Bump `@actions/artifact` to `v4.0.0` - Prepare `v5.0.0` by [@​danwkennedy](https://github.com/danwkennedy) in [#​734](actions/upload-artifact#734) #### New Contributors - [@​GhadimiR](https://github.com/GhadimiR) made their first contribution in [#​681](actions/upload-artifact#681) - [@​nebuk89](https://github.com/nebuk89) made their first contribution in [#​712](actions/upload-artifact#712) - [@​danwkennedy](https://github.com/danwkennedy) made their first contribution in [#​727](actions/upload-artifact#727) - [@​patrikpolyak](https://github.com/patrikpolyak) made their first contribution in [#​725](actions/upload-artifact#725) **Full Changelog**: <actions/upload-artifact@v4...v5.0.0> ### [`v5`](actions/upload-artifact@v4.6.2...v5.0.0) [Compare Source](actions/upload-artifact@v4.6.2...v5.0.0) ### [`v4.6.2`](https://github.com/actions/upload-artifact/releases/tag/v4.6.2) [Compare Source](actions/upload-artifact@v4.6.1...v4.6.2) #### What's Changed - Update to use artifact 2.3.2 package & prepare for new upload-artifact release by [@​salmanmkc](https://github.com/salmanmkc) in [#​685](actions/upload-artifact#685) #### New Contributors - [@​salmanmkc](https://github.com/salmanmkc) made their first contribution in [#​685](actions/upload-artifact#685) **Full Changelog**: <actions/upload-artifact@v4...v4.6.2> ### [`v4.6.1`](https://github.com/actions/upload-artifact/releases/tag/v4.6.1) [Compare Source](actions/upload-artifact@v4.6.0...v4.6.1) #### What's Changed - Update to use artifact 2.2.2 package by [@​yacaovsnc](https://github.com/yacaovsnc) in [#​673](actions/upload-artifact#673) **Full Changelog**: <actions/upload-artifact@v4...v4.6.1> ### [`v4.6.0`](https://github.com/actions/upload-artifact/releases/tag/v4.6.0) [Compare Source](actions/upload-artifact@v4.5.0...v4.6.0) #### What's Changed - Expose env vars to control concurrency and timeout by [@​yacaovsnc](https://github.com/yacaovsnc) in [#​662](actions/upload-artifact#662) **Full Changelog**: <actions/upload-artifact@v4...v4.6.0> ### [`v4.5.0`](https://github.com/actions/upload-artifact/releases/tag/v4.5.0) [Compare Source](actions/upload-artifact@v4.4.3...v4.5.0) #### What's Changed - fix: deprecated `Node.js` version in action by [@​hamirmahal](https://github.com/hamirmahal) in [#​578](actions/upload-artifact#578) - Add new `artifact-digest` output by [@​bdehamer](https://github.com/bdehamer) in [#​656](actions/upload-artifact#656) #### New Contributors - [@​hamirmahal](https://github.com/hamirmahal) made their first contribution in [#​578](actions/upload-artifact#578) - [@​bdehamer](https://github.com/bdehamer) made their first contribution in [#​656](actions/upload-artifact#656) **Full Changelog**: <actions/upload-artifact@v4.4.3...v4.5.0> ### [`v4.4.3`](https://github.com/actions/upload-artifact/releases/tag/v4.4.3) [Compare Source](actions/upload-artifact@v4.4.2...v4.4.3) #### What's Changed - Undo indirect dependency updates from [#​627](actions/upload-artifact#627) by [@​joshmgross](https://github.com/joshmgross) in [#​632](actions/upload-artifact#632) **Full Changelog**: <actions/upload-artifact@v4.4.2...v4.4.3> ### [`v4.4.2`](https://github.com/actions/upload-artifact/releases/tag/v4.4.2) [Compare Source](actions/upload-artifact@v4.4.1...v4.4.2) #### What's Changed - Bump `@actions/artifact` to 2.1.11 by [@​robherley](https://github.com/robherley) in [#​627](actions/upload-artifact#627) - Includes fix for relative symlinks not resolving properly **Full Changelog**: <actions/upload-artifact@v4.4.1...v4.4.2> ### [`v4.4.1`](https://github.com/actions/upload-artifact/releases/tag/v4.4.1) [Compare Source](actions/upload-artifact@v4.4.0...v4.4.1) #### What's Changed - Add a section about hidden files by [@​joshmgross](https://github.com/joshmgross) in [#​607](actions/upload-artifact#607) - Add workflow file for publishing releases to immutable action package by [@​Jcambass](https://github.com/Jcambass) in [#​621](actions/upload-artifact#621) - Update [@​actions/artifact](https://github.com/actions/artifact) to latest version, includes symlink and timeout fixes by [@​robherley](https://github.com/robherley) in [#​625](actions/upload-artifact#625) #### New Contributors - [@​Jcambass](https://github.com/Jcambass) made their first contribution in [#​621](actions/upload-artifact#621) **Full Changelog**: <actions/upload-artifact@v4.4.0...v4.4.1> ### [`v4.4.0`](https://github.com/actions/upload-artifact/releases/tag/v4.4.0) [Compare Source](actions/upload-artifact@v4.3.6...v4.4.0) #### Notice: Breaking Changes⚠️ We will no longer include hidden files and folders by default in the `upload-artifact` action of this version. This reduces the risk that credentials are accidentally uploaded into artifacts. Customers who need to continue to upload these files can use a new option, `include-hidden-files`, to continue to do so. See ["Notice of upcoming deprecations and breaking changes in GitHub Actions runners"](https://github.blog/changelog/2024-08-19-notice-of-upcoming-deprecations-and-breaking-changes-in-github-actions-runners/) changelog and [this issue](actions/upload-artifact#602) for more details. #### What's Changed - Exclude hidden files by default by [@​joshmgross](https://github.com/joshmgross) in [#​598](actions/upload-artifact#598) **Full Changelog**: <actions/upload-artifact@v4.3.6...v4.4.0> ### [`v4.3.6`](https://github.com/actions/upload-artifact/releases/tag/v4.3.6) [Compare Source](actions/upload-artifact@v4.3.5...v4.3.6) #### What's Changed - Revert to [@​actions/artifact](https://github.com/actions/artifact) 2.1.8 by [@​robherley](https://github.com/robherley) in [#​594](actions/upload-artifact#594) **Full Changelog**: <actions/upload-artifact@v4...v4.3.6> ### [`v4.3.5`](https://github.com/actions/upload-artifact/releases/tag/v4.3.5) [Compare Source](actions/upload-artifact@v4.3.4...v4.3.5) #### What's Changed - Bump [@​actions/artifact](https://github.com/actions/artifact) to v2.1.9 by [@​robherley](https://github.com/robherley) in [#​588](actions/upload-artifact#588) - Fixed artifact upload chunk timeout logic [#​1774](actions/toolkit#1774) - Use lazy stream to prevent issues with open file limits [#​1771](actions/toolkit#1771) **Full Changelog**: <actions/upload-artifact@v4.3.4...v4.3.5> ### [`v4.3.4`](https://github.com/actions/upload-artifact/releases/tag/v4.3.4) [Compare Source](actions/upload-artifact@v4.3.3...v4.3.4) #### What's Changed - Update [@​actions/artifact](https://github.com/actions/artifact) version, bump dependencies by [@​robherley](https://github.com/robherley) in [#​584](actions/upload-artifact#584) **Full Changelog**: <actions/upload-artifact@v4.3.3...v4.3.4> ### [`v4.3.3`](https://github.com/actions/upload-artifact/releases/tag/v4.3.3) [Compare Source](actions/upload-artifact@v4.3.2...v4.3.3) #### What's Changed - updating `@actions/artifact` dependency to v2.1.6 by [@​eggyhead](https://github.com/eggyhead) in [#​565](actions/upload-artifact#565) **Full Changelog**: <actions/upload-artifact@v4.3.2...v4.3.3> ### [`v4.3.2`](https://github.com/actions/upload-artifact/releases/tag/v4.3.2) [Compare Source](actions/upload-artifact@v4.3.1...v4.3.2) #### What's Changed - Update release-new-action-version.yml by [@​konradpabjan](https://github.com/konradpabjan) in [#​516](actions/upload-artifact#516) - Minor fix to the migration readme by [@​andrewakim](https://github.com/andrewakim) in [#​523](actions/upload-artifact#523) - Update readme with v3/v2/v1 deprecation notice by [@​robherley](https://github.com/robherley) in [#​561](actions/upload-artifact#561) - updating `@actions/artifact` dependency to v2.1.5 and `@actions/core` to v1.0.1 by [@​eggyhead](https://github.com/eggyhead) in [#​562](actions/upload-artifact#562) #### New Contributors - [@​andrewakim](https://github.com/andrewakim) made their first contribution in [#​523](actions/upload-artifact#523) **Full Changelog**: <actions/upload-artifact@v4.3.1...v4.3.2> ### [`v4.3.1`](https://github.com/actions/upload-artifact/releases/tag/v4.3.1) [Compare Source](actions/upload-artifact@v4.3.0...v4.3.1) - Bump [@​actions/artifacts](https://github.com/actions/artifacts) to latest version to include [updated GHES host check](actions/toolkit#1648) ### [`v4.3.0`](https://github.com/actions/upload-artifact/releases/tag/v4.3.0) [Compare Source](actions/upload-artifact@v4.2.0...v4.3.0) #### What's Changed - Reorganize upload code in prep for merge logic & add more tests by [@​robherley](https://github.com/robherley) in [#​504](actions/upload-artifact#504) - Add sub-action to merge artifacts by [@​robherley](https://github.com/robherley) in [#​505](actions/upload-artifact#505) **Full Changelog**: <actions/upload-artifact@v4...v4.3.0> ### [`v4.2.0`](https://github.com/actions/upload-artifact/releases/tag/v4.2.0) [Compare Source](actions/upload-artifact@v4.1.0...v4.2.0) #### What's Changed - Ability to overwrite an Artifact by [@​robherley](https://github.com/robherley) in [#​501](actions/upload-artifact#501) **Full Changelog**: <actions/upload-artifact@v4...v4.2.0> ### [`v4.1.0`](https://github.com/actions/upload-artifact/releases/tag/v4.1.0) [Compare Source](actions/upload-artifact@v4...v4.1.0) #### What's Changed - Add migrations docs by [@​robherley](https://github.com/robherley) in [#​482](actions/upload-artifact#482) - Update README.md by [@​samuelwine](https://github.com/samuelwine) in [#​492](actions/upload-artifact#492) - Support artifact-url output by [@​konradpabjan](https://github.com/konradpabjan) in [#​496](actions/upload-artifact#496) - Update readme to reflect new 500 artifact per job limit by [@​robherley](https://github.com/robherley) in [#​497](actions/upload-artifact#497) #### New Contributors - [@​samuelwine](https://github.com/samuelwine) made their first contribution in [#​492](actions/upload-artifact#492) **Full Changelog**: <actions/upload-artifact@v4...v4.1.0> ### [`v4.0.0`](https://github.com/actions/upload-artifact/releases/tag/v4.0.0) [Compare Source](actions/upload-artifact@v4...v4) #### What's Changed 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. For more information, please see: 1. The [changelog](https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/) post. 2. The [README](https://github.com/actions/upload-artifact/blob/main/README.md). 3. The [migration documentation](https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md). 4. As well as the underlying npm package, [@​actions/artifact](https://github.com/actions/toolkit/tree/main/packages/artifact) documentation. #### New Contributors - [@​vmjoseph](https://github.com/vmjoseph) made their first contribution in [#​464](actions/upload-artifact#464) **Full Changelog**: <actions/upload-artifact@v3...v4.0.0> ### [`v4`](actions/upload-artifact@v3.2.2...v4) [Compare Source](actions/upload-artifact@v3.2.2...v4) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](undefined) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIzMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==--> Reviewed-on: https://git.tainton.uk/repos/epage-go/pulls/10 Co-authored-by: renovate[bot] <[email protected]> Co-committed-by: renovate[bot] <[email protected]>
## Release notes Sourced from actions/upload-artifact's releases. v7.0.0 v7 What's new Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ESM To support new versions of the @actions/* packages, we've upgraded the package to ESM. What's Changed Add proxy integration test by @Link- in actions/upload-artifact#754 Upgrade the module to ESM and bump dependencies by @danwkennedy in actions/upload-artifact#762 Support direct file uploads by @danwkennedy in actions/upload-artifact#764 New Contributors @Link- made their first contribution in actions/upload-artifact#754 Full Changelog: actions/upload-artifact@v6...v7.0.0 v6.0.0 v6 - What's new [!IMPORTANT] actions/upload-artifact@v6 now runs on Node.js 24 (runs.using: node24) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading. Node.js 24 This release updates the runtime to Node.js 24. v5 had preliminary support for Node.js 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24. What's Changed Upload Artifact Node 24 support by @salmanmkc in actions/upload-artifact#719 fix: update @actions/artifact for Node.js 24 punycode deprecation by @salmanmkc in actions/upload-artifact#744 prepare release v6.0.0 for Node.js 24 support by @salmanmkc in actions/upload-artifact#745 Full Changelog: actions/upload-artifact@v5.0.0...v6.0.0 v5.0.0 What's Changed BREAKING CHANGE: this update supports Node v24.x. This is not a breaking change per-se but we're treating it as such. Update README.md by @GhadimiR in actions/upload-artifact#681 Update README.md by @nebuk89 in actions/upload-artifact#712 Readme: spell out the first use of GHES by @danwkennedy in actions/upload-artifact#727 Update GHES guidance to include reference to Node 20 version by @patrikpolyak in actions/upload-artifact#725 Bump @actions/artifact to v4.0.0 Prepare v5.0.0 by @danwkennedy in actions/upload-artifact#734 ... (truncated) ## Commits 043fb46 Merge pull request #797 from actions/yacaovsnc/update-dependency 634250c Include changes in typespec/ts-http-runtime 0.3.5 e454baa Readme: bump all the example versions to v7 (#796) 74fad66 Update the readme with direct upload details (#795) bbbca2d Support direct file uploads (#764) 589182c Upgrade the module to ESM and bump dependencies (#762) 47309c9 Merge pull request #754 from actions/Link-/add-proxy-integration-tests 02a8460 Add proxy integration test b7c566a Merge pull request #745 from actions/upload-artifact-v6-release e516bc8 docs: correct description of Node.js 24 support in README Additional commits viewable in compare view  Issue-ID: CIMAN-33 Signed-off-by: dependabot[bot] <[email protected]> Change-Id: I65698b44fa85ffe3fa7587198dc95b93f93d6312 GitHub-PR: #9 GitHub-Hash: c0f982f62fb3b605 Signed-off-by: onap.gh2gerrit <[email protected]>
## Release notes Sourced from actions/upload-artifact's releases. v7.0.0 v7 What's new Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ESM To support new versions of the @actions/* packages, we've upgraded the package to ESM. What's Changed Add proxy integration test by @Link- in actions/upload-artifact#754 Upgrade the module to ESM and bump dependencies by @danwkennedy in actions/upload-artifact#762 Support direct file uploads by @danwkennedy in actions/upload-artifact#764 New Contributors @Link- made their first contribution in actions/upload-artifact#754 Full Changelog: actions/upload-artifact@v6...v7.0.0 v6.0.0 v6 - What's new [!IMPORTANT] actions/upload-artifact@v6 now runs on Node.js 24 (runs.using: node24) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading. Node.js 24 This release updates the runtime to Node.js 24. v5 had preliminary support for Node.js 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24. What's Changed Upload Artifact Node 24 support by @salmanmkc in actions/upload-artifact#719 fix: update @actions/artifact for Node.js 24 punycode deprecation by @salmanmkc in actions/upload-artifact#744 prepare release v6.0.0 for Node.js 24 support by @salmanmkc in actions/upload-artifact#745 Full Changelog: actions/upload-artifact@v5.0.0...v6.0.0 v5.0.0 What's Changed BREAKING CHANGE: this update supports Node v24.x. This is not a breaking change per-se but we're treating it as such. Update README.md by @GhadimiR in actions/upload-artifact#681 Update README.md by @nebuk89 in actions/upload-artifact#712 Readme: spell out the first use of GHES by @danwkennedy in actions/upload-artifact#727 Update GHES guidance to include reference to Node 20 version by @patrikpolyak in actions/upload-artifact#725 Bump @actions/artifact to v4.0.0 Prepare v5.0.0 by @danwkennedy in actions/upload-artifact#734 ... (truncated) ## Commits 043fb46 Merge pull request #797 from actions/yacaovsnc/update-dependency 634250c Include changes in typespec/ts-http-runtime 0.3.5 e454baa Readme: bump all the example versions to v7 (#796) 74fad66 Update the readme with direct upload details (#795) bbbca2d Support direct file uploads (#764) 589182c Upgrade the module to ESM and bump dependencies (#762) 47309c9 Merge pull request #754 from actions/Link-/add-proxy-integration-tests 02a8460 Add proxy integration test b7c566a Merge pull request #745 from actions/upload-artifact-v6-release e516bc8 docs: correct description of Node.js 24 support in README Additional commits viewable in compare view  Issue-ID: CIMAN-33 Signed-off-by: dependabot[bot] <[email protected]> Change-Id: I9ecbe5ef026bea1cffee80fcc3e8e67eea90212a GitHub-PR: #23 GitHub-Hash: 25603fb130a13956 Signed-off-by: onap.gh2gerrit <[email protected]>
## Release notes Sourced from actions/upload-artifact's releases. v7.0.0 v7 What's new Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ESM To support new versions of the @actions/* packages, we've upgraded the package to ESM. What's Changed Add proxy integration test by @Link- in actions/upload-artifact#754 Upgrade the module to ESM and bump dependencies by @danwkennedy in actions/upload-artifact#762 Support direct file uploads by @danwkennedy in actions/upload-artifact#764 New Contributors @Link- made their first contribution in actions/upload-artifact#754 Full Changelog: actions/upload-artifact@v6...v7.0.0 v6.0.0 v6 - What's new [!IMPORTANT] actions/upload-artifact@v6 now runs on Node.js 24 (runs.using: node24) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading. Node.js 24 This release updates the runtime to Node.js 24. v5 had preliminary support for Node.js 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24. What's Changed Upload Artifact Node 24 support by @salmanmkc in actions/upload-artifact#719 fix: update @actions/artifact for Node.js 24 punycode deprecation by @salmanmkc in actions/upload-artifact#744 prepare release v6.0.0 for Node.js 24 support by @salmanmkc in actions/upload-artifact#745 Full Changelog: actions/upload-artifact@v5.0.0...v6.0.0 v5.0.0 What's Changed BREAKING CHANGE: this update supports Node v24.x. This is not a breaking change per-se but we're treating it as such. Update README.md by @GhadimiR in actions/upload-artifact#681 Update README.md by @nebuk89 in actions/upload-artifact#712 Readme: spell out the first use of GHES by @danwkennedy in actions/upload-artifact#727 Update GHES guidance to include reference to Node 20 version by @patrikpolyak in actions/upload-artifact#725 Bump @actions/artifact to v4.0.0 Prepare v5.0.0 by @danwkennedy in actions/upload-artifact#734 ... (truncated) ## Commits 043fb46 Merge pull request #797 from actions/yacaovsnc/update-dependency 634250c Include changes in typespec/ts-http-runtime 0.3.5 e454baa Readme: bump all the example versions to v7 (#796) 74fad66 Update the readme with direct upload details (#795) bbbca2d Support direct file uploads (#764) 589182c Upgrade the module to ESM and bump dependencies (#762) 47309c9 Merge pull request #754 from actions/Link-/add-proxy-integration-tests 02a8460 Add proxy integration test b7c566a Merge pull request #745 from actions/upload-artifact-v6-release e516bc8 docs: correct description of Node.js 24 support in README Additional commits viewable in compare view  Issue-ID: CIMAN-33 Signed-off-by: dependabot[bot] <[email protected]> Change-Id: I0bc8500ab9d4bbe3b412abfa3037fdc0fe26c9a6 GitHub-PR: #12 GitHub-Hash: 316b020a36aead4c Signed-off-by: onap.gh2gerrit <[email protected]>
## Release notes Sourced from actions/upload-artifact's releases. v7.0.0 v7 What's new Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ESM To support new versions of the @actions/* packages, we've upgraded the package to ESM. What's Changed Add proxy integration test by @Link- in actions/upload-artifact#754 Upgrade the module to ESM and bump dependencies by @danwkennedy in actions/upload-artifact#762 Support direct file uploads by @danwkennedy in actions/upload-artifact#764 New Contributors @Link- made their first contribution in actions/upload-artifact#754 Full Changelog: actions/upload-artifact@v6...v7.0.0 v6.0.0 v6 - What's new [!IMPORTANT] actions/upload-artifact@v6 now runs on Node.js 24 (runs.using: node24) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading. Node.js 24 This release updates the runtime to Node.js 24. v5 had preliminary support for Node.js 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24. What's Changed Upload Artifact Node 24 support by @salmanmkc in actions/upload-artifact#719 fix: update @actions/artifact for Node.js 24 punycode deprecation by @salmanmkc in actions/upload-artifact#744 prepare release v6.0.0 for Node.js 24 support by @salmanmkc in actions/upload-artifact#745 Full Changelog: actions/upload-artifact@v5.0.0...v6.0.0 v5.0.0 What's Changed BREAKING CHANGE: this update supports Node v24.x. This is not a breaking change per-se but we're treating it as such. Update README.md by @GhadimiR in actions/upload-artifact#681 Update README.md by @nebuk89 in actions/upload-artifact#712 Readme: spell out the first use of GHES by @danwkennedy in actions/upload-artifact#727 Update GHES guidance to include reference to Node 20 version by @patrikpolyak in actions/upload-artifact#725 Bump @actions/artifact to v4.0.0 Prepare v5.0.0 by @danwkennedy in actions/upload-artifact#734 ... (truncated) ## Commits 043fb46 Merge pull request #797 from actions/yacaovsnc/update-dependency 634250c Include changes in typespec/ts-http-runtime 0.3.5 e454baa Readme: bump all the example versions to v7 (#796) 74fad66 Update the readme with direct upload details (#795) bbbca2d Support direct file uploads (#764) 589182c Upgrade the module to ESM and bump dependencies (#762) 47309c9 Merge pull request #754 from actions/Link-/add-proxy-integration-tests 02a8460 Add proxy integration test b7c566a Merge pull request #745 from actions/upload-artifact-v6-release e516bc8 docs: correct description of Node.js 24 support in README Additional commits viewable in compare view  Issue-ID: CIMAN-33 Signed-off-by: dependabot[bot] <[email protected]> Change-Id: I9dcbe948ba4fef2630628a29eb2abb178a1e15d0 GitHub-PR: #12 GitHub-Hash: 7dde604752cf6050 Signed-off-by: onap.gh2gerrit <[email protected]> Signed-off-by: danielhanrahan <[email protected]>
## Release notes Sourced from actions/upload-artifact's releases. v7.0.0 v7 What's new Direct Uploads Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. ESM To support new versions of the @actions/* packages, we've upgraded the package to ESM. What's Changed Add proxy integration test by @Link- in actions/upload-artifact#754 Upgrade the module to ESM and bump dependencies by @danwkennedy in actions/upload-artifact#762 Support direct file uploads by @danwkennedy in actions/upload-artifact#764 New Contributors @Link- made their first contribution in actions/upload-artifact#754 Full Changelog: actions/upload-artifact@v6...v7.0.0 v6.0.0 v6 - What's new [!IMPORTANT] actions/upload-artifact@v6 now runs on Node.js 24 (runs.using: node24) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading. Node.js 24 This release updates the runtime to Node.js 24. v5 had preliminary support for Node.js 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24. What's Changed Upload Artifact Node 24 support by @salmanmkc in actions/upload-artifact#719 fix: update @actions/artifact for Node.js 24 punycode deprecation by @salmanmkc in actions/upload-artifact#744 prepare release v6.0.0 for Node.js 24 support by @salmanmkc in actions/upload-artifact#745 Full Changelog: actions/upload-artifact@v5.0.0...v6.0.0 v5.0.0 What's Changed BREAKING CHANGE: this update supports Node v24.x. This is not a breaking change per-se but we're treating it as such. Update README.md by @GhadimiR in actions/upload-artifact#681 Update README.md by @nebuk89 in actions/upload-artifact#712 Readme: spell out the first use of GHES by @danwkennedy in actions/upload-artifact#727 Update GHES guidance to include reference to Node 20 version by @patrikpolyak in actions/upload-artifact#725 Bump @actions/artifact to v4.0.0 Prepare v5.0.0 by @danwkennedy in actions/upload-artifact#734 ... (truncated) ## Commits 043fb46 Merge pull request #797 from actions/yacaovsnc/update-dependency 634250c Include changes in typespec/ts-http-runtime 0.3.5 e454baa Readme: bump all the example versions to v7 (#796) 74fad66 Update the readme with direct upload details (#795) bbbca2d Support direct file uploads (#764) 589182c Upgrade the module to ESM and bump dependencies (#762) 47309c9 Merge pull request #754 from actions/Link-/add-proxy-integration-tests 02a8460 Add proxy integration test b7c566a Merge pull request #745 from actions/upload-artifact-v6-release e516bc8 docs: correct description of Node.js 24 support in README Additional commits viewable in compare view  Issue-ID: CIMAN-33 Signed-off-by: dependabot[bot] <[email protected]> Change-Id: I8d58848b29ee559e5ccf9cdc485e8f97690c8022 GitHub-PR: #13 GitHub-Hash: b7d9f3ceaefad70f Signed-off-by: onap.gh2gerrit <[email protected]>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6.0.0 to 7.0.0. Release notes *Sourced from [actions/upload-artifact's releases](https://github.com/actions/upload-artifact/releases).* > v7.0.0 > ------ > > v7 What's new > ------------- > > ### Direct Uploads > > Adds support for uploading single files directly (unzipped). Callers can set the new `archive` parameter to `false` to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The `name` parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file. > > ### ESM > > To support new versions of the `@actions/*` packages, we've upgraded the package to ESM. > > What's Changed > -------------- > > * Add proxy integration test by [`@Link`](https://github.com/Link)- in [actions/upload-artifact#754](https://redirect.github.com/actions/upload-artifact/pull/754) > * Upgrade the module to ESM and bump dependencies by [`@danwkennedy`](https://github.com/danwkennedy) in [actions/upload-artifact#762](https://redirect.github.com/actions/upload-artifact/pull/762) > * Support direct file uploads by [`@danwkennedy`](https://github.com/danwkennedy) in [actions/upload-artifact#764](https://redirect.github.com/actions/upload-artifact/pull/764) > > New Contributors > ---------------- > > * [`@Link`](https://github.com/Link)- made their first contribution in [actions/upload-artifact#754](https://redirect.github.com/actions/upload-artifact/pull/754) > > **Full Changelog**: <actions/upload-artifact@v6...v7.0.0> Commits * [`bbbca2d`](actions/upload-artifact@bbbca2d) Support direct file uploads ([ArcadeData#764](https://redirect.github.com/actions/upload-artifact/issues/764)) * [`589182c`](actions/upload-artifact@589182c) Upgrade the module to ESM and bump dependencies ([ArcadeData#762](https://redirect.github.com/actions/upload-artifact/issues/762)) * [`47309c9`](actions/upload-artifact@47309c9) Merge pull request [ArcadeData#754](https://redirect.github.com/actions/upload-artifact/issues/754) from actions/Link-/add-proxy-integration-tests * [`02a8460`](actions/upload-artifact@02a8460) Add proxy integration test * See full diff in [compare view](actions/upload-artifact@b7c566a...bbbca2d) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Description
This adds support for uploading a file directly without zipping it.
Callers will need to opt into this change by setting the new
archiveflag tofalse(to maintain backwards compatibility, the flag defaults totrueright now). Only a single file can be uploaded right now. If the action detects multiple files, it will error.Breaking changes
7so we're bumping the version of this client to match versions.