Skip to content

Commit

Permalink
ci: Update to latest versions of all GH actions. (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZhihao-723 authored Dec 1, 2024
1 parent e2930e4 commit 6c32c14
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
matrix:
python-version: ["3.8", "3.11"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -32,7 +32,7 @@ jobs:

- run: python -m build

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheel-${{ matrix.python-version }}
path: dist/*
Expand All @@ -46,14 +46,14 @@ jobs:
python-version: ["3.7"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Download wheels for Python3.7
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
# Since we don't build for Python 3.7, we download the Python 3.8 wheel instead.
name: wheel-3.8
Expand All @@ -74,14 +74,14 @@ jobs:
python-version: ["3.8", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Download wheels for Built Python Versions
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wheel-${{ matrix.python-version }}
path: dist/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.8"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheel-3.8
path: dist/
Expand Down

0 comments on commit 6c32c14

Please sign in to comment.