diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4849ae3cd..202b0ccd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -201,7 +201,7 @@ jobs: ID: ${{ startsWith(github.ref, 'refs/tags/') && github.ref || github.sha }} - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.binary || 'sccache' }}-${{ steps.id.outputs.id }}-${{ matrix.target }} path: target/${{ matrix.target }}/release/${{ matrix.binary || 'sccache' }}${{ endsWith(matrix.target, '-msvc') && '.exe' || '' }} @@ -358,7 +358,7 @@ jobs: fi - name: Get artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Create release assets run: | diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 164899866..84096813f 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -22,7 +22,7 @@ jobs: run: | cargo build --all-features - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: integration-tests path: ./target/debug/sccache @@ -50,7 +50,7 @@ jobs: with: toolchain: "stable" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: integration-tests path: /home/runner/.cargo/bin/ @@ -110,7 +110,7 @@ jobs: with: toolchain: "stable" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: integration-tests path: /home/runner/.cargo/bin/ @@ -166,7 +166,7 @@ jobs: with: toolchain: "stable" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: integration-tests path: /home/runner/.cargo/bin/ @@ -204,7 +204,7 @@ jobs: uses: actions/checkout@v4 - name: Configure Cache Env - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); @@ -215,7 +215,7 @@ jobs: with: toolchain: "stable" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: integration-tests path: /home/runner/.cargo/bin/ @@ -270,7 +270,7 @@ jobs: with: toolchain: "stable" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: integration-tests path: /home/runner/.cargo/bin/ @@ -322,7 +322,7 @@ jobs: with: toolchain: "stable" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: integration-tests path: /home/runner/.cargo/bin/ @@ -433,7 +433,7 @@ jobs: - uses: actions/checkout@v4 - name: Configure Cache Env - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); @@ -445,7 +445,7 @@ jobs: chmod +x llvm.sh sudo ./llvm.sh "${LLVM_VERSION}" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: integration-tests path: /home/runner/.cargo/bin/ @@ -483,13 +483,13 @@ jobs: - uses: actions/checkout@v4 - name: Configure Cache Env - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '') - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: integration-tests path: /home/runner/.cargo/bin/ @@ -528,13 +528,13 @@ jobs: - uses: actions/checkout@v4 - name: Configure Cache Env - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '') - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: integration-tests path: /home/runner/.cargo/bin/ @@ -584,13 +584,13 @@ jobs: - uses: actions/checkout@v4 - name: Configure Cache Env - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '') - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: integration-tests path: /home/runner/.cargo/bin/ @@ -642,7 +642,7 @@ jobs: RUSTDOCFLAGS: "-Cpanic=abort" steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: integration-tests path: /home/runner/.cargo/bin/