Skip to content

Commit

Permalink
fix release python (Tencent#3974)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored Jun 29, 2022
1 parent 1458802 commit eeac683
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
submodules: true

- uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install deps
run: python -m pip install twine build
Expand All @@ -28,7 +30,6 @@ jobs:
with:
path: dist/*.tar.gz


build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand All @@ -43,6 +44,8 @@ jobs:
submodules: true

- uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Build wheels
uses: pypa/[email protected]
Expand Down Expand Up @@ -77,13 +80,17 @@ jobs:
build: "pp37-*"
- arch: aarch64
build: "pp38-*"
- arch: aarch64
build: "pp39-*"

steps:
- uses: actions/checkout@v3
with:
submodules: true

- uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down Expand Up @@ -118,6 +125,8 @@ jobs:

steps:
- uses: actions/setup-python@v4
with:
python-version: '3.x'

- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit eeac683

Please sign in to comment.