Skip to content

Commit

Permalink
fix artifact generation
Browse files Browse the repository at this point in the history
  • Loading branch information
rkaminsk committed Aug 23, 2024
1 parent 2e31167 commit 1fe1729
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/trigger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ case "$action" in
dev)
branch="${@:$OPTIND+1:1}"
# .github/workflows/ppa-dev.yml
dispatch 4881510 "$wip" "$branch"
#dispatch 4881510 "$wip" "$branch"
# .github/workflows/conda-dev.yml
dispatch 4923491 "$wip" "$branch"
#dispatch 4923491 "$wip" "$branch"
# .github/workflows/cibuildwheel.yml
dispatch 34889579 "$wip" "$branch"
;;
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:
- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz

build_wheels:
Expand Down Expand Up @@ -110,16 +111,19 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
pattern: cibw-*
path: dist
merge-multiple: true


- uses: pypa/[email protected]
if: ${{ github.event.inputs.wip == 'true' }}
Expand Down

0 comments on commit 1fe1729

Please sign in to comment.