feat: read the release assets asynchronously#552
Conversation
|
Note: I haven't tested this change myself, because my workflow takes 2 hours to finish and I have just finished one run, so I'm just uploading my 8GiB of assets manually this time to fix the release. Testing is welcome. |
Previously all assets were being read synchronously into memory, making the action unsuitable for releasing very large assets. Because the client library allows stream body inputs (it just forwards it to the underlying `fetch` implementation), just do it. The idea is also suggested by @enumag in softprops#353 (comment). Fixes: softprops#353 Signed-off-by: WANG Xuerui <git@xen0n.name>
|
@xen0n thanks a lot for your contribution! |
|
Unfortunately, this PR doesn't solve the problem reported in #353 (comment), at least in my case. I was trying to upload a bunch of big files using globbing and the action failed with this fatal error: ##[error]The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
##[error]The operation was canceled.Here's my action, in case it helps:name: Create Release
on:
workflow_dispatch:
inputs:
name:
description: 'Release Name'
required: true
default: 'Project JL2 Camozzi Release v0.0.0'
body:
description: 'Release Body Message'
required: true
default: 'The asset provided by this release contains the whole material stored in the repository.'
tag:
description: 'Release Tag'
required: true
default: 'v0.0.0'
zip_size:
description: 'Max size of zip files in GB'
required: true
default: '1'
env:
DIR_PREFIX: project-jl2-camozzi
jobs:
doRelease:
name: "Release"
runs-on: ubuntu-latest
environment: release_environment
steps:
- name: Release Inputs
run: |
echo "Release Inputs:"
echo "- Name: ${{ inputs.name }}"
echo "- Body: ${{ inputs.body }}"
echo "- Tag: ${{ inputs.tag }}"
echo "- Zip Size: ${{ inputs.zip_size }}g"
- name: Clone Branch master
uses: actions/checkout@main
with:
ref: master
path: ${{ env.DIR_PREFIX }}-${{ inputs.tag }}/master
lfs: true
- name: Clone Branch mech
uses: actions/checkout@main
with:
ref: mech
path: ${{ env.DIR_PREFIX }}-${{ inputs.tag }}/mech
lfs: true
- name: Clone Branch sim
uses: actions/checkout@main
with:
ref: sim
path: ${{ env.DIR_PREFIX }}-${{ inputs.tag }}/sim
lfs: true
- name: Clone Branch code
uses: actions/checkout@main
with:
ref: code
path: ${{ env.DIR_PREFIX }}-${{ inputs.tag }}/code
lfs: true
- name: Clone Branch astrial/code
uses: actions/checkout@main
with:
ref: astrial/code
path: ${{ env.DIR_PREFIX }}-${{ inputs.tag }}/astrial/code
lfs: true
- name: Clone Branch astrial/hailo-dev
uses: actions/checkout@main
with:
ref: astrial/hailo-dev
path: ${{ env.DIR_PREFIX }}-${{ inputs.tag }}/astrial/hailo-dev
lfs: true
- name: Clone Branch firmware
uses: actions/checkout@main
with:
ref: firmware
path: ${{ env.DIR_PREFIX }}-${{ inputs.tag }}/firmware
lfs: true
- name: Configure Git
run: |
git config --global push.default upstream
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
- name: Tag Branches
run: |
declare -a branches=("master" "mech" "sim" "code" "astrial/code" "astrial/hailo-dev" "firmware")
for branch in ${branches[@]}; do
echo "tagging ${branch}..."
cd ${GITHUB_WORKSPACE}/${DIR_PREFIX}-${{ inputs.tag }}/${branch}
git tag -a ${branch}-${{ inputs.tag }} -m "version ${{ inputs.tag }}"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
git push origin --tags
rm -Rf .git
done
- name: Create Assets
run: |
zip -r -s ${{ inputs.zip_size }}g ${DIR_PREFIX}-${{ inputs.tag }}.zip ${DIR_PREFIX}-${{ inputs.tag }}/
- name: Create Release
uses: softprops/action-gh-release@v2
with:
tag_name: master-${{ inputs.tag }}
name: ${{ inputs.name}}
body: ${{ inputs.body }}
generate_release_notes: false
make_latest: true
files: |
${{ env.DIR_PREFIX }}-${{ inputs.tag }}.* |
|
Hi @xen0n @chenrui333 |
Hi, while I didn't run your exact reproducer, is #562 working for you? You can test by pinning to the commit: - uses: softprops/action-gh-release@d67838e5786c2eec2084db89e3a60f3587b9b4d9 # softprops/action-gh-release#562(change "softprops" to "xen0n" should the reference not work) |
|
Hi @xen0n I've tested the fix and it worked like a charm! 🚀 |
|
Do you think this regression could be related to this pull request? |
|
Don't know, @devnoname120. |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [softprops/action-gh-release](https://github.com/softprops/action-gh-release) | action | major | `v2` → `v3` | --- ### Release Notes <details> <summary>softprops/action-gh-release (softprops/action-gh-release)</summary> ### [`v3.0.0`](https://github.com/softprops/action-gh-release/releases/tag/v3.0.0) [Compare Source](softprops/action-gh-release@v3.0.0...v3.0.0) `3.0.0` is a major release that moves the action runtime from Node 20 to Node 24. Use `v3` on GitHub-hosted runners and self-hosted fleets that already support the Node 24 Actions runtime. If you still need the last Node 20-compatible line, stay on `v2.6.2`. #### What's Changed ##### Other Changes 🔄 - Move the action runtime and bundle target to Node 24 - Update `@types/node` to the Node 24 line and allow future Dependabot updates - Keep the floating major tag on `v3`; `v2` remains pinned to the latest `2.x` release ### [`v3`](softprops/action-gh-release@v2.6.2...v3.0.0) [Compare Source](softprops/action-gh-release@v2.6.2...v3.0.0) ### [`v2.6.2`](https://github.com/softprops/action-gh-release/releases/tag/v2.6.2) [Compare Source](softprops/action-gh-release@v2.6.1...v2.6.2) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Other Changes 🔄 - chore(deps): bump picomatch from 4.0.3 to 4.0.4 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​775](softprops/action-gh-release#775) - chore(deps): bump brace-expansion from 5.0.4 to 5.0.5 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​777](softprops/action-gh-release#777) - chore(deps): bump vite from 8.0.0 to 8.0.5 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​781](softprops/action-gh-release#781) **Full Changelog**: <softprops/action-gh-release@v2...v2.6.2> ### [`v2.6.1`](https://github.com/softprops/action-gh-release/releases/tag/v2.6.1) [Compare Source](softprops/action-gh-release@v2.6.0...v2.6.1) `2.6.1` is a patch release focused on restoring linked discussion thread creation when `discussion_category_name` is set. It fixes `#764`, where the draft-first publish flow stopped carrying the discussion category through the final publish step. If you still hit an issue after upgrading, please open a report with the bug template and include a minimal repro or sanitized workflow snippet where possible. #### What's Changed ##### Bug fixes 🐛 - fix: preserve discussion category on publish by [@​chenrui333](https://github.com/chenrui333) in [#​765](softprops/action-gh-release#765) ### [`v2.6.0`](https://github.com/softprops/action-gh-release/releases/tag/v2.6.0) [Compare Source](softprops/action-gh-release@v2.5.3...v2.6.0) `2.6.0` is a minor release centered on `previous_tag` support for `generate_release_notes`, which lets workflows pin GitHub's comparison base explicitly instead of relying on the default range. It also includes the recent concurrent asset upload recovery fix, a `working_directory` docs sync, a checked-bundle freshness guard for maintainers, and clearer immutable-prerelease guidance where GitHub platform behavior imposes constraints on how prerelease asset uploads can be published. If you still hit an issue after upgrading, please open a report with the bug template and include a minimal repro or sanitized workflow snippet where possible. #### What's Changed ##### Exciting New Features 🎉 - feat: support previous\_tag for generate\_release\_notes by [@​pocesar](https://github.com/pocesar) in [#​372](softprops/action-gh-release#372) ##### Bug fixes 🐛 - fix: recover concurrent asset metadata 404s by [@​chenrui333](https://github.com/chenrui333) in [#​760](softprops/action-gh-release#760) ##### Other Changes 🔄 - docs: clarify reused draft release behavior by [@​chenrui333](https://github.com/chenrui333) in [#​759](softprops/action-gh-release#759) - docs: clarify working\_directory input by [@​chenrui333](https://github.com/chenrui333) in [#​761](softprops/action-gh-release#761) - ci: verify dist bundle freshness by [@​chenrui333](https://github.com/chenrui333) in [#​762](softprops/action-gh-release#762) - fix: clarify immutable prerelease uploads by [@​chenrui333](https://github.com/chenrui333) in [#​763](softprops/action-gh-release#763) ### [`v2.5.3`](https://github.com/softprops/action-gh-release/releases/tag/v2.5.3) [Compare Source](softprops/action-gh-release@v2.5.2...v2.5.3) <!-- Release notes generated using configuration in .github/release.yml at master --> `2.5.3` is a patch release focused on the remaining path-handling and release-selection bugs uncovered after `2.5.2`. It fixes `#639`, `#571`, `#280`, `#614`, `#311`, `#403`, and `#368`. It also adds documentation clarifications for `#541`, `#645`, `#542`, `#393`, and `#411`, where the current behavior is either usage-sensitive or constrained by GitHub platform limits rather than an action-side runtime bug. If you still hit an issue after upgrading, please open a report with the bug template and include a minimal repro or sanitized workflow snippet where possible. #### What's Changed ##### Bug fixes 🐛 - fix: prefer token input over GITHUB\_TOKEN by [@​chenrui333](https://github.com/chenrui333) in [#​751](softprops/action-gh-release#751) - fix: clean up duplicate drafts after canonicalization by [@​chenrui333](https://github.com/chenrui333) in [#​753](softprops/action-gh-release#753) - fix: support Windows-style file globs by [@​chenrui333](https://github.com/chenrui333) in [#​754](softprops/action-gh-release#754) - fix: normalize refs-tag inputs by [@​chenrui333](https://github.com/chenrui333) in [#​755](softprops/action-gh-release#755) - fix: expand tilde file paths by [@​chenrui333](https://github.com/chenrui333) in [#​756](softprops/action-gh-release#756) ##### Other Changes 🔄 - docs: clarify token precedence by [@​chenrui333](https://github.com/chenrui333) in [#​752](softprops/action-gh-release#752) - docs: clarify GitHub release limits by [@​chenrui333](https://github.com/chenrui333) in [#​758](softprops/action-gh-release#758) - documentation clarifications for empty-token handling, `preserve_order`, and special-character asset filename behavior **Full Changelog**: <softprops/action-gh-release@v2...v2.5.3> ### [`v2.5.2`](https://github.com/softprops/action-gh-release/releases/tag/v2.5.2) [Compare Source](softprops/action-gh-release@v2.5.1...v2.5.2) <!-- Release notes generated using configuration in .github/release.yml at master --> `2.5.2` is a patch release focused on the remaining release-creation and prerelease regressions in the `2.5.x` bug-fix cycle. It fixes `#705`, fixes `#708`, fixes `#740`, fixes `#741`, and fixes `#722`. Regression testing covers the shared-tag race, prerelease event behavior, dotfile asset labels, same-filename concurrent uploads, and blocked-tag cleanup behavior. If you still hit an issue after upgrading, please open a report with the bug template and include a minimal repro or sanitized workflow snippet where possible. #### What's Changed ##### Bug fixes 🐛 - fix: canonicalize releases after concurrent create by [@​chenrui333](https://github.com/chenrui333) in [#​746](softprops/action-gh-release#746) - fix: preserve prereleased events for prereleases by [@​chenrui333](https://github.com/chenrui333) in [#​748](softprops/action-gh-release#748) - fix: restore dotfile asset labels by [@​chenrui333](https://github.com/chenrui333) in [#​749](softprops/action-gh-release#749) - fix: handle upload already\_exists races across workflows by [@​api2062](https://github.com/api2062) in [#​745](softprops/action-gh-release#745) - fix: clean up orphan drafts when tag creation is blocked by [@​chenrui333](https://github.com/chenrui333) in [#​750](softprops/action-gh-release#750) #### New Contributors - [@​api2062](https://github.com/api2062) made their first contribution in [#​745](softprops/action-gh-release#745) **Full Changelog**: <softprops/action-gh-release@v2...v2.5.2> ### [`v2.5.1`](https://github.com/softprops/action-gh-release/releases/tag/v2.5.1) [Compare Source](softprops/action-gh-release@v2.5.0...v2.5.1) <!-- Release notes generated using configuration in .github/release.yml at master --> `2.5.1` is a patch release focused on regressions introduced in `2.5.0` and on release lookup reliability. It fixes `#713`, addresses `#703`, and fixes `#724`. Regression testing shows that current `master` no longer reproduces the finalize-race behavior reported in `#704` and `#709`. #### What's Changed ##### Bug fixes 🐛 - fix: fetch correct asset URL after finalization; test; some refactoring by [@​pzhlkj6612](https://github.com/pzhlkj6612) in [#​738](softprops/action-gh-release#738) - fix: release marked as 'latest' despite make\_latest: false by [@​Boshen](https://github.com/Boshen) in [#​715](softprops/action-gh-release#715) - fix: use getReleaseByTag API instead of iterating all releases by [@​kim-em](https://github.com/kim-em) in [#​725](softprops/action-gh-release#725) ##### Other Changes 🔄 - dependency updates, including the ESM/runtime compatibility refresh in [#​731](softprops/action-gh-release#731) #### New Contributors - [@​autarch](https://github.com/autarch) made their first contribution in [#​716](softprops/action-gh-release#716) - [@​pzhlkj6612](https://github.com/pzhlkj6612) made their first contribution in [#​738](softprops/action-gh-release#738) - [@​Boshen](https://github.com/Boshen) made their first contribution in [#​715](softprops/action-gh-release#715) - [@​kim-em](https://github.com/kim-em) made their first contribution in [#​725](softprops/action-gh-release#725) **Full Changelog**: <softprops/action-gh-release@v2...v2.5.1> ### [`v2.5.0`](https://github.com/softprops/action-gh-release/releases/tag/v2.5.0) [Compare Source](softprops/action-gh-release@v2.4.2...v2.5.0) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Exciting New Features 🎉 - feat: mark release as draft until all artifacts are uploaded by [@​dumbmoron](https://github.com/dumbmoron) in [#​692](softprops/action-gh-release#692) ##### Other Changes 🔄 - chore(deps): bump the npm group across 1 directory with 5 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​697](softprops/action-gh-release#697) - chore(deps): bump actions/checkout from 5.0.0 to 5.0.1 in the github-actions group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​689](softprops/action-gh-release#689) #### New Contributors - [@​dumbmoron](https://github.com/dumbmoron) made their first contribution in [#​692](softprops/action-gh-release#692) **Full Changelog**: <softprops/action-gh-release@v2.4.2...v2.5.0> ### [`v2.4.2`](https://github.com/softprops/action-gh-release/releases/tag/v2.4.2) [Compare Source](softprops/action-gh-release@v2.4.1...v2.4.2) #### What's Changed ##### Exciting New Features 🎉 - feat: Ensure generated release notes cannot be over 125000 characters by [@​BeryJu](https://github.com/BeryJu) in [#​684](softprops/action-gh-release#684) ##### Other Changes 🔄 - dependency updates #### New Contributors - [@​BeryJu](https://github.com/BeryJu) made their first contribution in [#​684](softprops/action-gh-release#684) **Full Changelog**: <softprops/action-gh-release@v2.4.1...v2.4.2> ### [`v2.4.1`](https://github.com/softprops/action-gh-release/releases/tag/v2.4.1) [Compare Source](softprops/action-gh-release@v2.4.0...v2.4.1) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Other Changes 🔄 - fix(util): support brace expansion globs containing commas in parseInputFiles by [@​Copilot](https://github.com/Copilot) in [#​672](softprops/action-gh-release#672) - fix: gracefully fallback to body when body\_path cannot be read by [@​Copilot](https://github.com/Copilot) in [#​671](softprops/action-gh-release#671) **Full Changelog**: <softprops/action-gh-release@v2...v2.4.1> ### [`v2.4.0`](https://github.com/softprops/action-gh-release/releases/tag/v2.4.0) [Compare Source](softprops/action-gh-release@v2.3.4...v2.4.0) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Exciting New Features 🎉 - feat(action): respect working\_directory for files globs by [@​stephenway](https://github.com/stephenway) in [#​667](softprops/action-gh-release#667) ##### Other Changes 🔄 - chore(deps): bump the npm group with 2 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​668](softprops/action-gh-release#668) **Full Changelog**: <softprops/action-gh-release@v2.3.4...v2.4.0> ### [`v2.3.4`](https://github.com/softprops/action-gh-release/releases/tag/v2.3.4) [Compare Source](softprops/action-gh-release@v2.3.3...v2.3.4) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Bug fixes 🐛 - fix(action): handle 422 already\_exists race condition by [@​stephenway](https://github.com/stephenway) in [#​665](softprops/action-gh-release#665) ##### Other Changes 🔄 - chore(deps): bump actions/setup-node from 4.4.0 to 5.0.0 in the github-actions group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​656](softprops/action-gh-release#656) - chore(deps): bump [@​types/node](https://github.com/types/node) from 20.19.11 to 20.19.13 in the npm group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​655](softprops/action-gh-release#655) - chore(deps): bump vite from 7.0.0 to 7.1.5 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​657](softprops/action-gh-release#657) - chore(deps): bump the npm group across 1 directory with 2 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​662](softprops/action-gh-release#662) - chore(deps): bump the npm group with 3 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​666](softprops/action-gh-release#666) **Full Changelog**: <softprops/action-gh-release@v2...v2.3.4> ### [`v2.3.3`](https://github.com/softprops/action-gh-release/releases/tag/v2.3.3) [Compare Source](softprops/action-gh-release@v2.3.2...v2.3.3) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Exciting New Features 🎉 - feat: add input option `overwrite_files` by [@​asfernandes](https://github.com/asfernandes) in [#​343](softprops/action-gh-release#343) ##### Other Changes 🔄 - dependency updates #### New Contributors - [@​asfernandes](https://github.com/asfernandes) made their first contribution in [#​343](softprops/action-gh-release#343) **Full Changelog**: <softprops/action-gh-release@v2...v2.3.3> ### [`v2.3.2`](https://github.com/softprops/action-gh-release/releases/tag/v2.3.2) [Compare Source](softprops/action-gh-release@v2.3.1...v2.3.2) - fix: revert fs `readableWebStream` change ### [`v2.3.1`](https://github.com/softprops/action-gh-release/releases/tag/v2.3.1) [Compare Source](softprops/action-gh-release@v2.3.0...v2.3.1) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Bug fixes 🐛 - fix: fix file closing issue by [@​WailGree](https://github.com/WailGree) in [#​629](softprops/action-gh-release#629) #### New Contributors - [@​WailGree](https://github.com/WailGree) made their first contribution in [#​629](softprops/action-gh-release#629) **Full Changelog**: <softprops/action-gh-release@v2.3.0...v2.3.1> ### [`v2.3.0`](https://github.com/softprops/action-gh-release/releases/tag/v2.3.0) [Compare Source](softprops/action-gh-release@v2.2.2...v2.3.0) <!-- Release notes generated using configuration in .github/release.yml at master --> - Migrate from jest to vitest - Replace `mime` with `mime-types` - Bump to use node 24 - Dependency updates **Full Changelog**: <softprops/action-gh-release@v2.2.2...v2.3.0> ### [`v2.2.2`](https://github.com/softprops/action-gh-release/releases/tag/v2.2.2) [Compare Source](softprops/action-gh-release@v2.2.1...v2.2.2) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Bug fixes 🐛 - fix: updating release draft status from true to false by [@​galargh](https://github.com/galargh) in [#​316](softprops/action-gh-release#316) ##### Other Changes 🔄 - chore: simplify ref\_type test by [@​steinybot](https://github.com/steinybot) in [#​598](softprops/action-gh-release#598) - fix(docs): clarify the default for tag\_name by [@​muzimuzhi](https://github.com/muzimuzhi) in [#​599](softprops/action-gh-release#599) - test(release): add unit tests when searching for a release by [@​rwaskiewicz](https://github.com/rwaskiewicz) in [#​603](softprops/action-gh-release#603) - dependency updates #### New Contributors - [@​steinybot](https://github.com/steinybot) made their first contribution in [#​598](softprops/action-gh-release#598) - [@​muzimuzhi](https://github.com/muzimuzhi) made their first contribution in [#​599](softprops/action-gh-release#599) - [@​galargh](https://github.com/galargh) made their first contribution in [#​316](softprops/action-gh-release#316) - [@​rwaskiewicz](https://github.com/rwaskiewicz) made their first contribution in [#​603](softprops/action-gh-release#603) **Full Changelog**: <softprops/action-gh-release@v2.2.1...v2.2.2> ### [`v2.2.1`](https://github.com/softprops/action-gh-release/releases/tag/v2.2.1) [Compare Source](softprops/action-gh-release@v2.2.0...v2.2.1) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Bug fixes 🐛 - fix: big file uploads by [@​xen0n](https://github.com/xen0n) in [#​562](softprops/action-gh-release#562) ##### Other Changes 🔄 - chore(deps): bump [@​types/node](https://github.com/types/node) from 22.10.1 to 22.10.2 by [@​dependabot](https://github.com/dependabot) in [#​559](softprops/action-gh-release#559) - chore(deps): bump [@​types/node](https://github.com/types/node) from 22.10.2 to 22.10.5 by [@​dependabot](https://github.com/dependabot) in [#​569](softprops/action-gh-release#569) - chore: update error and warning messages for not matching files in files field by [@​ytimocin](https://github.com/ytimocin) in [#​568](softprops/action-gh-release#568) #### New Contributors - [@​ytimocin](https://github.com/ytimocin) made their first contribution in [#​568](softprops/action-gh-release#568) **Full Changelog**: <softprops/action-gh-release@v2.2.0...v2.2.1> ### [`v2.2.0`](https://github.com/softprops/action-gh-release/releases/tag/v2.2.0) [Compare Source](softprops/action-gh-release@v2.1.0...v2.2.0) #### What's Changed ##### Exciting New Features 🎉 - feat: read the release assets asynchronously by [@​xen0n](https://github.com/xen0n) in [#​552](softprops/action-gh-release#552) ##### Bug fixes 🐛 - fix(docs): clarify the default for tag\_name by [@​alexeagle](https://github.com/alexeagle) in [#​544](softprops/action-gh-release#544) ##### Other Changes 🔄 - chore(deps): bump typescript from 5.6.3 to 5.7.2 by [@​dependabot](https://github.com/dependabot) in [#​548](softprops/action-gh-release#548) - chore(deps): bump [@​types/node](https://github.com/types/node) from 22.9.0 to 22.9.4 by [@​dependabot](https://github.com/dependabot) in [#​547](softprops/action-gh-release#547) - chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 by [@​dependabot](https://github.com/dependabot) in [#​545](softprops/action-gh-release#545) - chore(deps): bump [@​vercel/ncc](https://github.com/vercel/ncc) from 0.38.2 to 0.38.3 by [@​dependabot](https://github.com/dependabot) in [#​543](softprops/action-gh-release#543) - chore(deps): bump prettier from 3.3.3 to 3.4.1 by [@​dependabot](https://github.com/dependabot) in [#​550](softprops/action-gh-release#550) - chore(deps): bump [@​types/node](https://github.com/types/node) from 22.9.4 to 22.10.1 by [@​dependabot](https://github.com/dependabot) in [#​551](softprops/action-gh-release#551) - chore(deps): bump prettier from 3.4.1 to 3.4.2 by [@​dependabot](https://github.com/dependabot) in [#​554](softprops/action-gh-release#554) #### New Contributors - [@​alexeagle](https://github.com/alexeagle) made their first contribution in [#​544](softprops/action-gh-release#544) - [@​xen0n](https://github.com/xen0n) made their first contribution in [#​552](softprops/action-gh-release#552) **Full Changelog**: <softprops/action-gh-release@v2.1.0...v2.2.0> ### [`v2.1.0`](https://github.com/softprops/action-gh-release/releases/tag/v2.1.0) [Compare Source](softprops/action-gh-release@v2.0.9...v2.1.0) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Exciting New Features 🎉 - feat: add support for release assets with multiple spaces within the name by [@​dukhine](https://github.com/dukhine) in [#​518](softprops/action-gh-release#518) - feat: preserve upload order by [@​richarddd](https://github.com/richarddd) in [#​500](softprops/action-gh-release#500) ##### Other Changes 🔄 - chore(deps): bump [@​types/node](https://github.com/types/node) from 22.8.2 to 22.8.7 by [@​dependabot](https://github.com/dependabot) in [#​539](softprops/action-gh-release#539) #### New Contributors - [@​dukhine](https://github.com/dukhine) made their first contribution in [#​518](softprops/action-gh-release#518) - [@​richarddd](https://github.com/richarddd) made their first contribution in [#​500](softprops/action-gh-release#500) **Full Changelog**: <softprops/action-gh-release@v2...v2.1.0> ### [`v2.0.9`](https://github.com/softprops/action-gh-release/releases/tag/v2.0.9) [Compare Source](softprops/action-gh-release@v2.0.8...v2.0.9) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed - maintenance release with updated dependencies #### New Contributors - [@​kbakdev](https://github.com/kbakdev) made their first contribution in [#​521](softprops/action-gh-release#521) **Full Changelog**: <softprops/action-gh-release@v2...v2.0.9> ### [`v2.0.8`](https://github.com/softprops/action-gh-release/releases/tag/v2.0.8) [Compare Source](softprops/action-gh-release@v2.0.7...v2.0.8) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Other Changes 🔄 - chore(deps): bump prettier from 2.8.0 to 3.3.3 by [@​dependabot](https://github.com/dependabot) in [#​480](softprops/action-gh-release#480) - chore(deps): bump [@​types/node](https://github.com/types/node) from 20.14.9 to 20.14.11 by [@​dependabot](https://github.com/dependabot) in [#​483](softprops/action-gh-release#483) - chore(deps): bump [@​octokit/plugin-throttling](https://github.com/octokit/plugin-throttling) from 9.3.0 to 9.3.1 by [@​dependabot](https://github.com/dependabot) in [#​484](softprops/action-gh-release#484) - chore(deps): bump glob from 10.4.2 to 11.0.0 by [@​dependabot](https://github.com/dependabot) in [#​477](softprops/action-gh-release#477) - refactor: write jest config in ts by [@​chenrui333](https://github.com/chenrui333) in [#​485](softprops/action-gh-release#485) - chore(deps): bump [@​actions/github](https://github.com/actions/github) from 5.1.1 to 6.0.0 by [@​dependabot](https://github.com/dependabot) in [#​470](softprops/action-gh-release#470) **Full Changelog**: <softprops/action-gh-release@v2...v2.0.8> ### [`v2.0.7`](https://github.com/softprops/action-gh-release/releases/tag/v2.0.7) [Compare Source](softprops/action-gh-release@v2.0.6...v2.0.7) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### Bug fixes 🐛 - Fix missing update release body by [@​FirelightFlagboy](https://github.com/FirelightFlagboy) in [#​365](softprops/action-gh-release#365) ##### Other Changes 🔄 - Bump [@​octokit/plugin-retry](https://github.com/octokit/plugin-retry) from 4.0.3 to 7.1.1 by [@​dependabot](https://github.com/dependabot) in [#​443](softprops/action-gh-release#443) - Bump typescript from 4.9.5 to 5.5.2 by [@​dependabot](https://github.com/dependabot) in [#​467](softprops/action-gh-release#467) - Bump [@​types/node](https://github.com/types/node) from 20.14.6 to 20.14.8 by [@​dependabot](https://github.com/dependabot) in [#​469](softprops/action-gh-release#469) - Bump [@​types/node](https://github.com/types/node) from 20.14.8 to 20.14.9 by [@​dependabot](https://github.com/dependabot) in [#​473](softprops/action-gh-release#473) - Bump typescript from 5.5.2 to 5.5.3 by [@​dependabot](https://github.com/dependabot) in [#​472](softprops/action-gh-release#472) - Bump ts-jest from 29.1.5 to 29.2.2 by [@​dependabot](https://github.com/dependabot) in [#​479](softprops/action-gh-release#479) - docs: document that existing releases are updated by [@​jvanbruegge](https://github.com/jvanbruegge) in [#​474](softprops/action-gh-release#474) #### New Contributors - [@​jvanbruegge](https://github.com/jvanbruegge) made their first contribution in [#​474](softprops/action-gh-release#474) - [@​FirelightFlagboy](https://github.com/FirelightFlagboy) made their first contribution in [#​365](softprops/action-gh-release#365) **Full Changelog**: <softprops/action-gh-release@v2.0.6...v2.0.7> ### [`v2.0.6`](https://github.com/softprops/action-gh-release/releases/tag/v2.0.6) [Compare Source](softprops/action-gh-release@v2.0.5...v2.0.6) maintenance release with updated dependencies ### [`v2.0.5`](https://github.com/softprops/action-gh-release/releases/tag/v2.0.5) [Compare Source](softprops/action-gh-release@v2.0.4...v2.0.5) - Factor in file names with spaces when upserting files [#​446](softprops/action-gh-release#446) via [@​MystiPanda](https://github.com/MystiPanda) - Improvements to error handling [#​449](softprops/action-gh-release#449) via [@​till](https://github.com/till) ### [`v2.0.4`](https://github.com/softprops/action-gh-release/releases/tag/v2.0.4) [Compare Source](softprops/action-gh-release@v2.0.3...v2.0.4) - Minor follow up to [#​417](softprops/action-gh-release#417). [#​425](softprops/action-gh-release#425) ### [`v2.0.3`](softprops/action-gh-release@v2.0.2...v2.0.3) [Compare Source](softprops/action-gh-release@v2.0.2...v2.0.3) ### [`v2.0.2`](https://github.com/softprops/action-gh-release/releases/tag/v2.0.2) [Compare Source](softprops/action-gh-release@v2.0.1...v2.0.2) - Revisit approach to [#​384](softprops/action-gh-release#384) making unresolved pattern failures opt-in [#​417](softprops/action-gh-release#417) ### [`v2.0.1`](https://github.com/softprops/action-gh-release/releases/tag/v2.0.1) [Compare Source](softprops/action-gh-release@v2...v2.0.1) - Add support for make\_latest property [#​304](softprops/action-gh-release#304) via [@​samueljseay](https://github.com/samueljseay) - Fail run if files setting contains invalid patterns [#​384](softprops/action-gh-release#384) via [@​rpdelaney](https://github.com/rpdelaney) - Add support for proxy env variables (don't use node-fetch) [#​386/](softprops/action-gh-release#386) via [@​timor-raiman](https://github.com/timor-raiman) - Suppress confusing warning when input\_files is empty [#​389](softprops/action-gh-release#389) via [@​Drowze](https://github.com/Drowze) </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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjUuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE2NS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.simoncor.net/golang/gogitlabber/pulls/3
Previously all assets were being read synchronously into memory, making the action unsuitable for releasing very large assets. Because the client library allows stream body inputs (it just forwards it to the underlying
fetchimplementation), just do it.Fixes: #353