Update Llama2 Members download instructions with new form. (#1781) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build loadgen wheels and release them into PYPI | |
on: | |
release: | |
types: [published] | |
push: | |
branches: | |
- master | |
paths: | |
- loadgen/setup.py | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- name: Install requirements | |
run: python -m pip install cibuildwheel twine | |
- name: Build wheels | |
run: python -m cibuildwheel loadgen/ --output-dir wheels | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: ./wheels/*.whl | |
- name: Publish package to PyPI | |
run: python -m twine upload wheels/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} | |