diff --git a/.github/trigger.sh b/.github/trigger.sh index 587ebf7c2..c032ef98d 100755 --- a/.github/trigger.sh +++ b/.github/trigger.sh @@ -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" ;; diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 4a41dda0a..2da6c4297 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -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: @@ -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/gh-action-pypi-publish@v1.5.0 if: ${{ github.event.inputs.wip == 'true' }}