Skip to content

Commit

Permalink
Add wheel step to publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarkall committed Jul 30, 2024
1 parent 21e843f commit eab60e4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,12 @@ jobs:
script: "ci/build_conda.sh"
matrix_filter: ${{ needs.compute-matrix.outputs.BUILD_MATRIX }}
upload_to_anaconda: true
build-wheels:
needs: compute-matrix
uses: ./.github/workflows/wheels-build.yaml
secrets: inherit
with:
build_type: release
script: "ci/build_wheel.sh"
matrix_filter: ${{ needs.compute-matrix.outputs.BUILD_MATRIX }}
upload_to_pypi: true
9 changes: 9 additions & 0 deletions .github/workflows/wheels-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ on:
type: string
default: ''

upload_to_pypi:
type: boolean
required: false

defaults:
run:
shell: bash
Expand Down Expand Up @@ -163,3 +167,8 @@ jobs:
with:
name: wheel
path: ${{ env.package_path }}
- name: Publish wheel
if: inputs.upload_to_pypi
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion numba_cuda/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.10
0.0.11

0 comments on commit eab60e4

Please sign in to comment.