diff --git a/.github/workflows/_binary_conda_upload.yml b/.github/workflows/_binary_conda_upload.yml index 3def46395d..7e0d271fd1 100644 --- a/.github/workflows/_binary_conda_upload.yml +++ b/.github/workflows/_binary_conda_upload.yml @@ -63,7 +63,7 @@ jobs: upload-to-base-bucket: ${{ matrix.upload_to_base_bucket }} - name: Download the artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }} path: ${{ inputs.repository }}/distr diff --git a/.github/workflows/_binary_upload.yml b/.github/workflows/_binary_upload.yml index 2969554fad..63dc5e304c 100644 --- a/.github/workflows/_binary_upload.yml +++ b/.github/workflows/_binary_upload.yml @@ -73,7 +73,7 @@ jobs: - name: Download the artifact if: ${{ env.DO_UPLOAD == 'true' }} - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }} path: ${{ inputs.repository }}/dist/ diff --git a/.github/workflows/_upload_docs.yml b/.github/workflows/_upload_docs.yml index 8fbfcb54a6..d1c8de9da9 100644 --- a/.github/workflows/_upload_docs.yml +++ b/.github/workflows/_upload_docs.yml @@ -31,7 +31,7 @@ jobs: ref: ${{ inputs.docs-branch }} persist-credentials: true - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ inputs.docs-name }} path: docs diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index aef7e10caf..87fa7e1e76 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -304,7 +304,7 @@ jobs: - name: Upload wheel to GitHub if: ${{ env.IS_MANYLINUX2_28 == 'true' }} continue-on-error: true - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }} path: ${{ inputs.repository }}/dist/ diff --git a/.github/workflows/build_wheels_macos.yml b/.github/workflows/build_wheels_macos.yml index 7a61bba130..69d1244c27 100644 --- a/.github/workflows/build_wheels_macos.yml +++ b/.github/workflows/build_wheels_macos.yml @@ -252,7 +252,7 @@ jobs: # NB: Only upload to GitHub after passing smoke tests - name: Upload wheel to GitHub continue-on-error: true - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }} path: ${{ inputs.repository }}/dist/ diff --git a/.github/workflows/build_wheels_windows.yml b/.github/workflows/build_wheels_windows.yml index 974d193c0a..ba18cf7dfd 100644 --- a/.github/workflows/build_wheels_windows.yml +++ b/.github/workflows/build_wheels_windows.yml @@ -212,7 +212,7 @@ jobs: # NB: Only upload to GitHub after passing smoke tests - name: Upload wheel to GitHub continue-on-error: true - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_NAME }} path: ${{ inputs.repository }}/dist/ diff --git a/.github/workflows/linux_job.yml b/.github/workflows/linux_job.yml index 83dd36855e..44833c3e70 100644 --- a/.github/workflows/linux_job.yml +++ b/.github/workflows/linux_job.yml @@ -201,7 +201,7 @@ jobs: if: ${{ steps.check_container_runner.outputs.IN_CONTAINER_RUNNER == 'true' }} - name: Download artifacts (if any) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 if: ${{ inputs.download-artifact != '' }} with: name: ${{ inputs.download-artifact }} @@ -323,7 +323,7 @@ jobs: # NB: Keep this for compatibility with existing jobs and also keep in mind that only # our AWS runners have access to S3 - name: Upload artifacts to GitHub (if any) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() && inputs.upload-artifact != '' && !inputs.upload-artifact-to-s3 }} with: name: ${{ inputs.upload-artifact }} diff --git a/.github/workflows/linux_job_v2.yml b/.github/workflows/linux_job_v2.yml index 4c26c0b3d3..346e3594fb 100644 --- a/.github/workflows/linux_job_v2.yml +++ b/.github/workflows/linux_job_v2.yml @@ -201,7 +201,7 @@ jobs: if: ${{ steps.check_container_runner.outputs.IN_CONTAINER_RUNNER == 'true' }} - name: Download artifacts (if any) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 if: ${{ inputs.download-artifact != '' }} with: name: ${{ inputs.download-artifact }} @@ -314,7 +314,7 @@ jobs: # NB: Keep this for compatibility with existing jobs and also keep in mind that only # our AWS runners have access to S3 - name: Upload artifacts to GitHub (if any) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() && inputs.upload-artifact != '' && !inputs.upload-artifact-to-s3 }} with: name: ${{ inputs.upload-artifact }} diff --git a/.github/workflows/macos_job.yml b/.github/workflows/macos_job.yml index 71a46f11e9..4160956438 100644 --- a/.github/workflows/macos_job.yml +++ b/.github/workflows/macos_job.yml @@ -132,7 +132,7 @@ jobs: echo "RUNNER_TEST_RESULTS_DIR=${RUNNER_TEST_RESULTS_DIR}" >> "${GITHUB_ENV}" - name: Download artifacts (if any) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 if: ${{ inputs.download-artifact != '' }} with: name: ${{ inputs.download-artifact }} @@ -193,7 +193,7 @@ jobs: # NB: Keep this for compatibility with existing jobs and also keep in mind that only # our AWS runners have access to S3 - name: Upload artifacts to GitHub (if any) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() && inputs.upload-artifact != '' && !inputs.upload-artifact-to-s3 }} with: name: ${{ inputs.upload-artifact }} diff --git a/.github/workflows/update_disabled_tests.yml b/.github/workflows/update_disabled_tests.yml index 8476ac0ab9..39803489d8 100644 --- a/.github/workflows/update_disabled_tests.yml +++ b/.github/workflows/update_disabled_tests.yml @@ -87,7 +87,7 @@ jobs: user_name: "Pytorch Test Infra" commit_message: "Updating unstable jobs" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: disabled-artifacts if-no-files-found: error @@ -103,7 +103,7 @@ jobs: needs: update-disabled-tests steps: - name: Download disabled artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: disabled-artifacts diff --git a/.github/workflows/windows_job.yml b/.github/workflows/windows_job.yml index d5a8c47940..ab6ec50fd5 100644 --- a/.github/workflows/windows_job.yml +++ b/.github/workflows/windows_job.yml @@ -124,7 +124,7 @@ jobs: submodules: ${{ inputs.submodules }} - name: Download artifacts (if any) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 if: ${{ inputs.download-artifact != '' }} with: name: ${{ inputs.download-artifact }} @@ -195,7 +195,7 @@ jobs: # NB: Keep this for compatibility with existing jobs and also keep in mind that only # our AWS runners have access to S3 - name: Upload artifacts to GitHub (if any) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() && inputs.upload-artifact != '' && !inputs.upload-artifact-to-s3 }} with: name: ${{ inputs.upload-artifact }}