From 2b98caf3bf37c6075c1e9a55f36c5075bb3a6142 Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Fri, 28 Feb 2025 02:03:50 -0800 Subject: [PATCH] Fixed release github workflow. (#3305) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Confirmed fixed on my fork https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ Screenshot 2025-02-27 at 5 28 36 PM --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2bc38b25e7..6b78d33494 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -111,7 +111,7 @@ jobs: bazel ${BAZEL_STARTUP_FLAGS[@]} run //crate_universe/tools/cross_installer -- --target=${TARGET} --output="${OUTPUT_PATH}" env: TARGET: "${{ matrix.env.TARGET }}" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: "${{ matrix.env.TARGET }}" path: ${{ github.workspace }}/crate_universe/target/artifacts/${{ matrix.env.TARGET }} @@ -121,7 +121,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: ${{ github.workspace }}/crate_universe/target/artifacts - name: Detect the current version @@ -156,7 +156,7 @@ jobs: URL_PREFIX: https://github.com/${{ github.repository_owner }}/rules_rust/releases/download/${{ env.RELEASE_VERSION }} # Upload the artifact in case creating a release fails so all artifacts can then be manually recovered. - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: "rules_rust.tar.gz" path: ${{ github.workspace }}/.github/rules_rust.tar.gz