diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dabcebcc5f..e13115b7eb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,7 +72,7 @@ jobs: CARGO_INCREMENTAL: 0 - name: "Archive executable artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: spin-ubuntu-latest path: target/release/spin @@ -108,7 +108,7 @@ jobs: BUILD_SPIN_EXAMPLES: 0 - name: "Archive executable artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: spin-static-${{ matrix.config.arch }} path: target/${{ matrix.config.target }}/release/spin @@ -136,7 +136,7 @@ jobs: CARGO_INCREMENTAL: 0 - name: "Archive executable artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: spin-${{ matrix.os }} path: target/release/spin${{ matrix.os == 'windows-latest' && '.exe' || '' }} diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 6e30a20b3b..5dcbeef6ab 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -25,7 +25,7 @@ jobs: run: cargo build --workspace --all-targets --features all-tests --features openssl/vendored - name: "Archive executable artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: spin-ubuntu-latest path: target/debug/spin @@ -68,7 +68,7 @@ jobs: verbose: true - name: Archive code coverage results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ github.ref == 'refs/heads/main' }} with: name: code-coverage-report