Skip to content

Commit

Permalink
nightly env var
Browse files Browse the repository at this point in the history
Signed-off-by: NKcqx <[email protected]>
  • Loading branch information
NKcqx committed Dec 25, 2024
1 parent 492a4d7 commit 9a4d441
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/pypi-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
cp310-manylinux_aarch64
cp311-manylinux_x86_64
cp311-manylinux_aarch64
RAY_DEBUG_BUILD: nightly
CIBW_ENVIRONMENT: RAY_DEBUG_BUILD=nightly
with:
package-dir: ./python
output-dir: ./python/dist
Expand Down Expand Up @@ -115,6 +115,24 @@ jobs:
# if: github.event_name == 'release' && github.event.action == 'published'
# # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
# # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v4
with:
# unpacks all CIBW artifacts into dist/
pattern: cibw-*
path: python/dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: python/dist

upload_test_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment: testpypi-publish
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 9a4d441

Please sign in to comment.