Skip to content

Commit

Permalink
Update build_arm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham authored Oct 26, 2024
1 parent 63c821e commit c3fb498
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions .github/workflows/build_arm.yml
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:
Expand Down Expand Up @@ -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

0 comments on commit c3fb498

Please sign in to comment.