From 77cc0a922c4ebaecb4dc419cb2a0e756f9a0e674 Mon Sep 17 00:00:00 2001 From: Scott Schneider Date: Thu, 9 Jan 2025 11:06:45 -0800 Subject: [PATCH 1/2] Convert Linux CUDA wheels to download-artifact@v4. --- .github/workflows/linux_cuda_wheel.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux_cuda_wheel.yaml b/.github/workflows/linux_cuda_wheel.yaml index 27d7a7a4..c2248b88 100644 --- a/.github/workflows/linux_cuda_wheel.yaml +++ b/.github/workflows/linux_cuda_wheel.yaml @@ -79,7 +79,7 @@ jobs: echo cuda_version_without_periods=${cuda_version_without_periods} >> $GITHUB_ENV python_version_without_periods=$(echo "${{ matrix.python-version }}" | sed 's/\.//g') echo python_version_without_periods=${python_version_without_periods} >> $GITHUB_ENV - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64 path: pytorch/torchcodec/dist/ From 527391c35a8da33f9624ff7c538dbd4ed1859a67 Mon Sep 17 00:00:00 2001 From: Scott Schneider Date: Thu, 9 Jan 2025 11:21:28 -0800 Subject: [PATCH 2/2] Upgrade the rest to v4 --- .github/workflows/docs.yaml | 2 +- .github/workflows/linux_wheel.yaml | 2 +- .github/workflows/macos_wheel.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index ac4a8103..6aa6e3f6 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -67,7 +67,7 @@ jobs: echo cuda_version_without_periods=${cuda_version_without_periods} >> $GITHUB_ENV python_version_without_periods=$(echo "${{ matrix.python-version }}" | sed 's/\.//g') echo python_version_without_periods=${python_version_without_periods} >> $GITHUB_ENV - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: pytorch_torchcodec__${{ matrix.python-version }}_cu${{ env.cuda_version_without_periods }}_x86_64 path: pytorch/torchcodec/dist/ diff --git a/.github/workflows/linux_wheel.yaml b/.github/workflows/linux_wheel.yaml index 38f25733..f5e665f5 100644 --- a/.github/workflows/linux_wheel.yaml +++ b/.github/workflows/linux_wheel.yaml @@ -65,7 +65,7 @@ jobs: ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1'] needs: build steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: pytorch_torchcodec__${{ matrix.python-version }}_cpu_x86_64 path: pytorch/torchcodec/dist/ diff --git a/.github/workflows/macos_wheel.yaml b/.github/workflows/macos_wheel.yaml index ef637194..b7cc965e 100644 --- a/.github/workflows/macos_wheel.yaml +++ b/.github/workflows/macos_wheel.yaml @@ -67,7 +67,7 @@ jobs: needs: build steps: - name: Download wheel - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pytorch_torchcodec__${{ matrix.python-version }}_cpu_ path: pytorch/torchcodec/dist/