Skip to content

Commit

Permalink
Bump GitHub Actions versions and fix warnings in the process
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen authored and saghul committed Dec 12, 2022
1 parent 036aafd commit d62a60c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.8'
- name: Build sdist
run: python setup.py sdist
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz

Expand All @@ -34,12 +34,12 @@ jobs:
# upload to PyPI when a GitHub Release is created
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@master
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}
8 changes: 4 additions & 4 deletions .github/workflows/run-cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
cibw_archs: aarch64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up QEMU
if: runner.os == 'Linux' && matrix.cibw_archs == 'aarch64'
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2
with:
platforms: all
- name: Set CIBW_BUILD
Expand All @@ -57,11 +57,11 @@ jobs:
- name: Set CIBW_SKIP
run: echo "CIBW_SKIP=cp36-*" >> $GITHUB_ENV
- name: Build wheels
uses: pypa/cibuildwheel@v2.9.0
uses: pypa/cibuildwheel@v2.11.3
with:
output-dir: ./wheelhouse
env:
CIBW_PRERELEASE_PYTHONS: ${{ inputs.prerelease-pythons }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl

0 comments on commit d62a60c

Please sign in to comment.