Skip to content

Commit

Permalink
[ci] correct the default value of wheel_version
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoHsiao1 committed Oct 20, 2024
1 parent 499030a commit f570b49
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
wheel_version:
default: 2.15.3

env:
wheel_version: ${{ inputs.wheel_version || '2.15.3' }}

jobs:
job1:
name: Test package on ubuntu
Expand All @@ -27,7 +30,7 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install pyexiv2==${{ github.event.inputs.wheel_version }}
python -m pip install pyexiv2==${{ env.wheel_version }}
python -m pip install pytest psutil
- name: Test
run: |
Expand All @@ -53,7 +56,7 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install pyexiv2==${{ github.event.inputs.wheel_version }}
python -m pip install pyexiv2==${{ env.wheel_version }}
python -m pip install pytest psutil
- name: Test
run: |
Expand All @@ -80,7 +83,7 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install pyexiv2==${{ github.event.inputs.wheel_version }}
python -m pip install pyexiv2==${{ env.wheel_version }}
python -m pip install pytest psutil
- name: Test
run: |
Expand Down

0 comments on commit f570b49

Please sign in to comment.