Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,26 @@ jobs:
build_type: release
script: "ci/build_wheel.sh"
matrix_filter: ${{ needs.compute-matrix.outputs.BUILD_MATRIX }}
upload_to_pypi: true
publish-wheels:
needs: build-wheels
runs-on: ubuntu-latest
steps:
- name: Download sdist
if: "!cancelled()"
uses: actions/download-artifact@v4
with:
name: sdist
path: dist
- name: Download wheel
if: "!cancelled()"
uses: actions/download-artifact@v4
with:
name: wheel
path: dist
- name: Publish wheel
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.RAPIDSAI_PYPI_TOKEN }}
build-docs:
needs:
- build-conda
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/wheels-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ on:
type: string
default: ''

upload_to_pypi:
type: boolean
required: false

defaults:
run:
shell: bash
Expand Down Expand Up @@ -173,25 +169,3 @@ jobs:
with:
name: wheel
path: ${{ env.wheel_path }}

publish:
needs: [build]
runs-on: ubuntu-latest
if: inputs.upload_to_pypi
steps:
- name: Download sdist
if: "!cancelled()"
uses: actions/download-artifact@v4
with:
name: sdist
path: dist
- name: Download wheel
if: "!cancelled()"
uses: actions/download-artifact@v4
with:
name: wheel
path: dist
- name: Publish wheel
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.RAPIDSAI_PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion ci/build_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rapids-print-env

rapids-logger "Begin py build"

rapids-conda-retry mambabuild conda/recipes/numba-cuda
rapids-conda-retry build conda/recipes/numba-cuda

package_path=(/tmp/conda-bld-output/noarch/numba-cuda-*.tar.bz2)
echo "package_path=$package_path" >> $GITHUB_ENV