Skip to content

Commit

Permalink
De-duplicate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZhihao-723 committed Apr 21, 2024
1 parent 04bb676 commit 9a7eac8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.11"]
python-version: ["3.8", "3.11"]
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
python-version: ["3.8", "3.11"]
python-version: ["3.7", "3.8", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -54,7 +54,9 @@ jobs:

- uses: actions/download-artifact@v3
with:
name: wheel-${{ matrix.python-version }}
name: >-
${{ matrix.python-version == '3.7' && 'wheel-3.8' ||
'wheel-' + matrix.python-version }}
path: dist/

- run: pip install --upgrade
Expand Down

0 comments on commit 9a7eac8

Please sign in to comment.