Skip to content

Commit 2b98caf

Browse files
authored
Fixed release github workflow. (#3305)
Confirmed fixed on my fork https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ <img width="1230" alt="Screenshot 2025-02-27 at 5 28 36 PM" src="https://github.com/user-attachments/assets/ff7d470a-4f91-42bf-977a-03062606e728" />
1 parent 5b70940 commit 2b98caf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
bazel ${BAZEL_STARTUP_FLAGS[@]} run //crate_universe/tools/cross_installer -- --target=${TARGET} --output="${OUTPUT_PATH}"
112112
env:
113113
TARGET: "${{ matrix.env.TARGET }}"
114-
- uses: actions/upload-artifact@v3
114+
- uses: actions/upload-artifact@v4
115115
with:
116116
name: "${{ matrix.env.TARGET }}"
117117
path: ${{ github.workspace }}/crate_universe/target/artifacts/${{ matrix.env.TARGET }}
@@ -121,7 +121,7 @@ jobs:
121121
runs-on: ubuntu-20.04
122122
steps:
123123
- uses: actions/checkout@v3
124-
- uses: actions/download-artifact@v3
124+
- uses: actions/download-artifact@v4
125125
with:
126126
path: ${{ github.workspace }}/crate_universe/target/artifacts
127127
- name: Detect the current version
@@ -156,7 +156,7 @@ jobs:
156156
URL_PREFIX: https://github.com/${{ github.repository_owner }}/rules_rust/releases/download/${{ env.RELEASE_VERSION }}
157157

158158
# Upload the artifact in case creating a release fails so all artifacts can then be manually recovered.
159-
- uses: actions/upload-artifact@v3
159+
- uses: actions/upload-artifact@v4
160160
with:
161161
name: "rules_rust.tar.gz"
162162
path: ${{ github.workspace }}/.github/rules_rust.tar.gz

0 commit comments

Comments
 (0)