Skip to content

Commit de5ff02

Browse files
[deps]: Update GitHub Artifact Actions (major) (#395)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://redirect.github.com/actions/download-artifact) | action | major | `v4.1.8` -> `v6.0.0` | | [actions/upload-artifact](https://redirect.github.com/actions/upload-artifact) | action | major | `v4.6.0` -> `v5.0.0` | --- ### Release Notes <details> <summary>actions/download-artifact (actions/download-artifact)</summary> ### [`v6.0.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v6.0.0) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v5.0.0...v6.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 for download-artifact v5 changes by [@&#8203;yacaovsnc](https://redirect.github.com/yacaovsnc) in [#&#8203;417](https://redirect.github.com/actions/download-artifact/pull/417) - Update README with artifact extraction details by [@&#8203;yacaovsnc](https://redirect.github.com/yacaovsnc) in [#&#8203;424](https://redirect.github.com/actions/download-artifact/pull/424) - Readme: spell out the first use of GHES by [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;431](https://redirect.github.com/actions/download-artifact/pull/431) - Bump `@actions/artifact` to `v4.0.0` - Prepare `v6.0.0` by [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&#8203;438](https://redirect.github.com/actions/download-artifact/pull/438) #### New Contributors - [@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) made their first contribution in [#&#8203;431](https://redirect.github.com/actions/download-artifact/pull/431) **Full Changelog**: <actions/download-artifact@v5...v6.0.0> ### [`v5.0.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v5.0.0) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.3.0...v5.0.0) #### What's Changed - Update README.md by [@&#8203;nebuk89](https://redirect.github.com/nebuk89) in [#&#8203;407](https://redirect.github.com/actions/download-artifact/pull/407) - BREAKING fix: inconsistent path behavior for single artifact downloads by ID by [@&#8203;GrantBirki](https://redirect.github.com/GrantBirki) in [#&#8203;416](https://redirect.github.com/actions/download-artifact/pull/416) #### v5.0.0 ##### 🚨 Breaking Change This release fixes an inconsistency in path behavior for single artifact downloads by ID. **If you're downloading single artifacts by ID, the output path may change.** ##### What Changed Previously, **single artifact downloads** behaved differently depending on how you specified the artifact: - **By name**: `name: my-artifact` → extracted to `path/` (direct) - **By ID**: `artifact-ids: 12345` → extracted to `path/my-artifact/` (nested) Now both methods are consistent: - **By name**: `name: my-artifact` → extracted to `path/` (unchanged) - **By ID**: `artifact-ids: 12345` → extracted to `path/` (fixed - now direct) ##### Migration Guide ##### ✅ No Action Needed If: - You download artifacts by **name** - You download **multiple** artifacts by ID - You already use `merge-multiple: true` as a workaround ##### ⚠️ Action Required If: You download **single artifacts by ID** and your workflows expect the nested directory structure. **Before v5 (nested structure):** ```yaml - uses: actions/download-artifact@v4 with: artifact-ids: 12345 path: dist ### Files were in: dist/my-artifact/ ``` > Where `my-artifact` is the name of the artifact you previously uploaded **To maintain old behavior (if needed):** ```yaml - uses: actions/download-artifact@v5 with: artifact-ids: 12345 path: dist/my-artifact # Explicitly specify the nested path ``` #### New Contributors - [@&#8203;nebuk89](https://redirect.github.com/nebuk89) made their first contribution in [#&#8203;407](https://redirect.github.com/actions/download-artifact/pull/407) **Full Changelog**: <actions/download-artifact@v4...v5.0.0> ### [`v4.3.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.3.0) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.2.1...v4.3.0) #### What's Changed - feat: implement new `artifact-ids` input by [@&#8203;GrantBirki](https://redirect.github.com/GrantBirki) in [#&#8203;401](https://redirect.github.com/actions/download-artifact/pull/401) - Fix workflow example for downloading by artifact ID by [@&#8203;joshmgross](https://redirect.github.com/joshmgross) in [#&#8203;402](https://redirect.github.com/actions/download-artifact/pull/402) - Prep for v4.3.0 release by [@&#8203;robherley](https://redirect.github.com/robherley) in [#&#8203;404](https://redirect.github.com/actions/download-artifact/pull/404) #### New Contributors - [@&#8203;GrantBirki](https://redirect.github.com/GrantBirki) made their first contribution in [#&#8203;401](https://redirect.github.com/actions/download-artifact/pull/401) **Full Changelog**: <actions/download-artifact@v4.2.1...v4.3.0> ### [`v4.2.1`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.2.1) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.2.0...v4.2.1) #### What's Changed - Add unit tests by [@&#8203;GhadimiR](https://redirect.github.com/GhadimiR) in [#&#8203;392](https://redirect.github.com/actions/download-artifact/pull/392) - Fix bug introduced in 4.2.0 by [@&#8203;GhadimiR](https://redirect.github.com/GhadimiR) in [#&#8203;391](https://redirect.github.com/actions/download-artifact/pull/391) **Full Changelog**: <actions/download-artifact@v4.2.0...v4.2.1> ### [`v4.2.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.2.0) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.9...v4.2.0) #### What's Changed - Update README.md by [@&#8203;lkfortuna](https://redirect.github.com/lkfortuna) in [#&#8203;384](https://redirect.github.com/actions/download-artifact/pull/384) - Bump artifact version, do digest check by [@&#8203;GhadimiR](https://redirect.github.com/GhadimiR) in [#&#8203;383](https://redirect.github.com/actions/download-artifact/pull/383) #### New Contributors - [@&#8203;lkfortuna](https://redirect.github.com/lkfortuna) made their first contribution in [#&#8203;384](https://redirect.github.com/actions/download-artifact/pull/384) - [@&#8203;GhadimiR](https://redirect.github.com/GhadimiR) made their first contribution in [#&#8203;383](https://redirect.github.com/actions/download-artifact/pull/383) **Full Changelog**: <actions/download-artifact@v4.1.9...v4.2.0> ### [`v4.1.9`](https://redirect.github.com/actions/download-artifact/releases/tag/v4.1.9) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v4.1.8...v4.1.9) #### What's Changed - Add workflow file for publishing releases to immutable action package by [@&#8203;Jcambass](https://redirect.github.com/Jcambass) in [#&#8203;354](https://redirect.github.com/actions/download-artifact/pull/354) - docs: small migration fix by [@&#8203;froblesmartin](https://redirect.github.com/froblesmartin) in [#&#8203;370](https://redirect.github.com/actions/download-artifact/pull/370) - Update MIGRATION.md by [@&#8203;andyfeller](https://redirect.github.com/andyfeller) in [#&#8203;372](https://redirect.github.com/actions/download-artifact/pull/372) - Update artifact package to 2.2.2 by [@&#8203;yacaovsnc](https://redirect.github.com/yacaovsnc) in [#&#8203;380](https://redirect.github.com/actions/download-artifact/pull/380) #### New Contributors - [@&#8203;Jcambass](https://redirect.github.com/Jcambass) made their first contribution in [#&#8203;354](https://redirect.github.com/actions/download-artifact/pull/354) - [@&#8203;froblesmartin](https://redirect.github.com/froblesmartin) made their first contribution in [#&#8203;370](https://redirect.github.com/actions/download-artifact/pull/370) - [@&#8203;andyfeller](https://redirect.github.com/andyfeller) made their first contribution in [#&#8203;372](https://redirect.github.com/actions/download-artifact/pull/372) - [@&#8203;yacaovsnc](https://redirect.github.com/yacaovsnc) made their first contribution in [#&#8203;380](https://redirect.github.com/actions/download-artifact/pull/380) **Full Changelog**: <actions/download-artifact@v4.1.8...v4.1.9> </details> <details> <summary>actions/upload-artifact (actions/upload-artifact)</summary> ### [`v5.0.0`](https://redirect.github.com/actions/upload-artifact/compare/v4.6.2...v5.0.0) [Compare Source](https://redirect.github.com/actions/upload-artifact/compare/v4.6.2...v5.0.0) ### [`v4.6.2`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.6.2) [Compare Source](https://redirect.github.com/actions/upload-artifact/compare/v4.6.1...v4.6.2) #### What's Changed - Update to use artifact 2.3.2 package & prepare for new upload-artifact release by [@&#8203;salmanmkc](https://redirect.github.com/salmanmkc) in [#&#8203;685](https://redirect.github.com/actions/upload-artifact/pull/685) #### New Contributors - [@&#8203;salmanmkc](https://redirect.github.com/salmanmkc) made their first contribution in [#&#8203;685](https://redirect.github.com/actions/upload-artifact/pull/685) **Full Changelog**: <actions/upload-artifact@v4...v4.6.2> ### [`v4.6.1`](https://redirect.github.com/actions/upload-artifact/releases/tag/v4.6.1) [Compare Source](https://redirect.github.com/actions/upload-artifact/compare/v4.6.0...v4.6.1) #### What's Changed - Update to use artifact 2.2.2 package by [@&#8203;yacaovsnc](https://redirect.github.com/yacaovsnc) in [#&#8203;673](https://redirect.github.com/actions/upload-artifact/pull/673) **Full Changelog**: <actions/upload-artifact@v4...v4.6.1> </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/bitwarden/sdk-internal). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS43MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuMTU5LjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbIm1ham9yLXVwZGF0ZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 00c854d commit de5ff02

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build-android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
run: cross build -p bitwarden-uniffi --release --target=${{ matrix.settings.target }}
5757

5858
- name: Upload artifact
59-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
59+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
6060
with:
6161
name: android-${{ matrix.settings.target }}
6262
path: ./target/${{ matrix.settings.target }}/release/libbitwarden_uniffi.so
@@ -106,7 +106,7 @@ jobs:
106106
java-version: 17
107107

108108
- name: Download Artifacts
109-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
109+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
110110

111111
- name: Move artifacts
112112
working-directory: crates/bitwarden-uniffi/kotlin/sdk/src/main/jniLibs

.github/workflows/build-swift.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ jobs:
8585
cp -rf crates/bitwarden-uniffi/swift/BitwardenFFI.xcframework artifacts
8686
8787
- name: Upload BitwardenFFI.xcframework artifact
88-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
88+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
8989
with:
9090
name: BitwardenFFI-${{ env._VERSION }}-${{ steps.build.outputs.short-sha }}.xcframework
9191
path: artifacts
9292
if-no-files-found: error
9393

9494
- name: Upload BitwardenSdk sources
95-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
95+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
9696
with:
9797
name: BitwardenSdk-${{ env._VERSION }}-${{ steps.build.outputs.short-sha }}-sources
9898
path: crates/bitwarden-uniffi/swift/Sources/BitwardenSdk

.github/workflows/build-wasm-internal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
run: ./build.sh -r ${{ matrix.license_type.build_flags }}
9898

9999
- name: Upload artifact
100-
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
100+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
101101
with:
102102
name: ${{ matrix.license_type.artifact_name }}
103103
path: ${{ github.workspace }}/crates/bitwarden-wasm-internal/${{ matrix.license_type.npm_folder }}/*

0 commit comments

Comments
 (0)