Skip to content

Commit

Permalink
[ci] Add variable wheel_version
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoHsiao1 authored Oct 17, 2024
1 parent 44c2a30 commit 03557b0
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 @@ -6,6 +6,9 @@ on:
release:
types: [published]
workflow_dispatch:
inputs:
wheel_version:
default: 2.15.2

jobs:
job1:
Expand All @@ -24,7 +27,7 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install pyexiv2==2.15.2
python -m pip install pyexiv2==${{ github.event.inputs.wheel_version }}
python -m pip install pytest psutil
- name: Test
run: |
Expand All @@ -50,7 +53,7 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install pyexiv2==2.15.2
python -m pip install pyexiv2==${{ github.event.inputs.wheel_version }}
python -m pip install pytest psutil
- name: Test
run: |
Expand All @@ -77,7 +80,7 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install pyexiv2==2.15.2
python -m pip install pyexiv2==${{ github.event.inputs.wheel_version }}
python -m pip install pytest psutil
- name: Test
run: |
Expand Down

0 comments on commit 03557b0

Please sign in to comment.