Skip to content

Commit

Permalink
Fix upload step (#26)
Browse files Browse the repository at this point in the history
#22 changed how the
package is uploaded to S3, but did not include `RAPIDS_PY_WHEEL_NAME`.
Fix uploading, and also don't publish the `main` branch.
  • Loading branch information
KyleFromNVIDIA authored May 9, 2024
1 parent 32c85f2 commit 99d5516
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: build

on:
push:
branches:
- "main"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

jobs:
run-checks:
uses: ./.github/workflows/checks-and-builds.yaml
with:
build_type: branch
publish: false
secrets: inherit
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: build

on:
push:
branches:
- "main"
tags:
- "v*.*.*"

Expand Down
2 changes: 1 addition & 1 deletion ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ WHL_FILE=$(ls dist/*.whl)
python -m pip install "${WHL_FILE}[test]"
python -m pytest -v tests/

rapids-upload-wheels-to-s3 dist
RAPIDS_PY_WHEEL_NAME="rapids-build-backend" rapids-upload-wheels-to-s3 dist

0 comments on commit 99d5516

Please sign in to comment.