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
38 changes: 37 additions & 1 deletion .github/workflows/compile-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ jobs:
needs: [pure-wheels-sdist, mypyc]
runs-on: ubuntu-latest
steps:
# NOTE: Keep this section in sync with compile-pypi.yml
- name: Download Python artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # ratchet:actions/download-artifact@v3
with:
Expand Down Expand Up @@ -132,6 +131,43 @@ jobs:
path: dist
- name: dry ls
run: ls -rthlaR
push-nightly:
name: Push nightly wheels
if: >-
!github.event.repository.fork && (github.event_name == 'push' && startsWith(github.ref, 'refs/main')
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Download Python artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # ratchet:actions/download-artifact@v3
with:
name: python-artefacts
path: dist
- name: Download Linux x86_64 compiled artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # ratchet:actions/download-artifact@v3
with:
name: linux-x86_64-mypyc-wheels
path: dist
- name: Download MacOS x86_64 compiled artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # ratchet:actions/download-artifact@v3
with:
name: macos-x86_64-mypyc-wheels
path: dist
- name: Download MacOS arm64 compiled artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # ratchet:actions/download-artifact@v3
with:
name: macos-arm64-mypyc-wheels
path: dist
- name: Download MacOS universal2 compiled artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # ratchet:actions/download-artifact@v3
with:
name: macos-universal2-mypyc-wheels
path: dist
- name: Publish nightly wheels to test.pypi.org
uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # ratchet:pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/simple/
sucess-build: # https://github.com/marketplace/actions/alls-green#why
if: always()
needs:
Expand Down
5 changes: 5 additions & 0 deletions changelog.d/215.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Nightly wheels now can be installed via `test.pypi.org`:

```bash
pip install -i https://test.pypi.org/simple/ openllm
```