Skip to content

Commit

Permalink
Update GitHub actions to their latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaine committed Mar 11, 2024
1 parent 3a7b40e commit efbb374
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Install packages
Expand All @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Run tests
Expand All @@ -51,17 +51,17 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Build source package
run: |
pip install -U build
python -m build --sdist
- name: Upload source package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
name: dist-source
path: dist/

package-wheel:
Expand All @@ -87,7 +87,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Set up QEMU
Expand All @@ -105,9 +105,9 @@ jobs:
pip install cibuildwheel
cibuildwheel --output-dir dist
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
name: dist-wheel-${{ matrix.os }}-${{ matrix.arch }}
path: dist/

publish:
Expand All @@ -117,9 +117,9 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
merge-multiple: true
path: dist/
- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
Expand Down

0 comments on commit efbb374

Please sign in to comment.