-
Notifications
You must be signed in to change notification settings - Fork 97
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
b8a1149
commit 5cd0636
Showing
2 changed files
with
4 additions
and
23 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 |
---|---|---|
|
@@ -8,15 +8,11 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, windows-2019, macos-11] | ||
os: [ubuntu-22.04, windows-2022, macos-11] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
|
@@ -28,7 +24,6 @@ jobs: | |
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: wheelhouse | ||
path: ./wheelhouse/*.whl | ||
|
||
|
||
|
@@ -38,10 +33,6 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
with: | ||
|
@@ -59,7 +50,6 @@ jobs: | |
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: wheelhouse | ||
path: ./wheelhouse/*.whl | ||
|
||
|
||
|
@@ -69,34 +59,26 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install --upgrade pip | ||
- name: Create source dist | ||
run: python setup.py sdist --for-pypi | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: wheelhouse | ||
path: ./dist/* | ||
|
||
pypi_publish: | ||
needs: [build_source, build_binary_native, build_binary_qemu] | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
|
||
steps: | ||
- name: Stage wheels | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: wheelhouse | ||
name: artifact | ||
path: dist | ||
|
||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
|
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