Skip to content

Commit

Permalink
Rewrite the workflow to be explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZhihao-723 committed Apr 21, 2024
1 parent fc79bd3 commit 65d9ccc
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,18 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- uses: actions/download-artifact@v3
- name: Download wheels for Python3.7
if: ${{ '3.7' == matrix.python-version }}
uses: actions/download-artifact@v3
with:
name: >-
${{ matrix.python-version == '3.7' && 'wheel-3.8' ||
format('wheel-{0}', matrix.python-version) }}
name: wheel-3.8
path: dist/

- name: Download wheels for Built Python Versions
if: ${{ '3.7' != matrix.python-version }}
uses: actions/download-artifact@v3
with:
name: wheel-${{ matrix.python-version }}
path: dist/

- run: pip install --upgrade
Expand Down

0 comments on commit 65d9ccc

Please sign in to comment.