-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63c821e
commit c3fb498
Showing
1 changed file
with
25 additions
and
24 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Build ARM | ||
name: Build aarch64 Linux | ||
on: [push, pull_request] | ||
jobs: | ||
build_wheels: | ||
|
@@ -35,27 +35,28 @@ jobs: | |
- uses: actions/upload-artifact@v3 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
# publish: | ||
# needs: build_wheels | ||
# name: Publish to PyPI | ||
# runs-on: ubuntu-latest | ||
|
||
# steps: | ||
# - name: Set up Python | ||
# uses: actions/[email protected] | ||
# with: | ||
# python-version: '3.x' | ||
# - name: Install twine | ||
# run: | | ||
# python -m pip install --upgrade pip | ||
# pip install twine | ||
# - name: Download Artifacts | ||
# uses: actions/download-artifact@v3 | ||
# with: | ||
# name: wheels | ||
# path: ./wheelhouse | ||
# - name: Publish | ||
# env: | ||
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
# run: twine upload ./wheelhouse/* --skip-existing | ||
publish: | ||
needs: build_wheels | ||
name: Publish to PyPI | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.x' | ||
- name: Install twine | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install twine | ||
- name: Download Artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: wheels | ||
path: ./wheelhouse | ||
- name: Publish | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: twine upload ./wheelhouse/* --skip-existing |