Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Jun 2, 2023
1 parent 246c76e commit 2d1c2f0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
name: Make SDist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install deps
run: python -m pip install build twine
- name: Build SDist
run: python -m build --sdist
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz
- name: Check metadata
Expand All @@ -41,10 +41,10 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# Used to host cibuildwheel
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4

- name: Install cibuildwheel
run: python -m pip install cibuildwheel
Expand All @@ -56,7 +56,7 @@ jobs:
CIBW_SKIP: pp*
CIBW_PRERELEASE_PYTHONS: False

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: wheelhouse/*.whl

Expand All @@ -71,10 +71,10 @@ jobs:
arch: aarch64
platform_id: manylinux_aarch64
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Install cibuildwheel
run: python -m pip install cibuildwheel
Expand All @@ -84,7 +84,7 @@ jobs:
env:
CIBW_ARCHS_LINUX: ${{matrix.arch}}
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: wheelhouse/*.whl

Expand All @@ -101,4 +101,4 @@ jobs:
- uses: pypa/gh-action-pypi-publish@v1.5.0
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 2d1c2f0

Please sign in to comment.