diff --git a/.github/workflows/build_test_publish.yml b/.github/workflows/build_test_publish.yml index 47b6eea..0ad1383 100644 --- a/.github/workflows/build_test_publish.yml +++ b/.github/workflows/build_test_publish.yml @@ -34,7 +34,7 @@ jobs: # env: # CIBW_SOME_OPTION: value - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: name: wheels path: ./wheelhouse/*.whl @@ -48,7 +48,7 @@ jobs: - name: Build sdist run: pipx run build --sdist - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: name: sdist path: dist/*.tar.gz @@ -58,15 +58,15 @@ jobs: needs: [build_test_wheels, build_sdist] runs-on: ubuntu-latest # publish when a GitHub Release is created, use the following rule: - # if: github.event_name == 'release' && github.event.action == 'published' - if: github.event_name == 'workflow_dispatch' + if: github.event_name == 'release' && github.event.action == 'published' + # if: github.event_name == 'workflow_dispatch' steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v3 with: name: wheels path: dist - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v3 with: name: sdist path: dist