From 36fd4b13c051bdb6334a5bc6fa5f3c58aef99dcc Mon Sep 17 00:00:00 2001 From: Tobias Micheler <157927030+tobiasmicheler@users.noreply.github.com> Date: Thu, 10 Oct 2024 01:26:29 +0200 Subject: [PATCH] fix: pypi-release-action: downgrade upload-artifact and download-artifact to v3 (#938) Since there are breaking changes between the upload-artifact and download-artifact versions v3 and v4, this workflow was broken, and no releases were uploaded to pypi. A downgrade should make this work again --- .github/workflows/release_to_pypi.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release_to_pypi.yml b/.github/workflows/release_to_pypi.yml index 8399f4f8..11e5bc58 100644 --- a/.github/workflows/release_to_pypi.yml +++ b/.github/workflows/release_to_pypi.yml @@ -23,7 +23,7 @@ jobs: sccache: 'true' manylinux: auto - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: wheels path: dist @@ -42,7 +42,7 @@ jobs: args: --release --out dist sccache: 'true' - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: wheels path: dist @@ -61,7 +61,7 @@ jobs: args: --release --out dist sccache: 'true' - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: wheels path: dist @@ -76,7 +76,7 @@ jobs: command: sdist args: --out dist - name: Upload sdist - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: wheels path: dist @@ -87,7 +87,7 @@ jobs: if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, windows, macos, sdist] steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v3 with: name: wheels - name: Publish to PyPI