From bf9bbbb3e6db9cbcd7f60878681ac8a2cd929ba1 Mon Sep 17 00:00:00 2001 From: Ronald Kam Date: Mon, 26 Aug 2024 13:40:38 -0700 Subject: [PATCH] Downgrade artifact from v4 to v3 To handle errors in pip builds that arise from artifact v4, documented here: https://github.com/actions/upload-artifact/issues/478 --- .github/workflows/build.yml | 6 +++--- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 07b46637..4f64914d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.20.0 - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: path: wheelhouse/*.whl @@ -94,7 +94,7 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.20.0 - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: path: wheelhouse/*.whl @@ -110,6 +110,6 @@ jobs: - name: Build sdist run: pipx run build --sdist - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: path: dist/*.tar.gz diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be1699f0..8701683e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: if: github.event.inputs.release-pypi == 'true' steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v3 with: name: artifact path: dist