Skip to content

Commit

Permalink
upload v4 not working. change back to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjpxie committed Oct 10, 2024
1 parent 90d09d6 commit c279c4c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_test_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c279c4c

Please sign in to comment.