Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit fc8ac73

Browse files
authored
Merge pull request #7 from microsoft/dciborow/version-param
Update validation.yml
2 parents 5fbfaad + 9c11160 commit fc8ac73

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,20 @@ on:
1010
workdir:
1111
type: string
1212
default: src
13+
python-version:
14+
type: string
15+
default: 3.11.2
1316

1417
jobs:
1518
publish:
1619
runs-on: ubuntu-latest
1720
steps:
1821
- uses: actions/checkout@v2
1922

23+
- uses: actions/setup-python@v4.6.0
24+
with:
25+
python-version: ${{ inputs.python-version }}
26+
2027
- name: Publish Snapshot to TestPyPi
2128
uses: microsoft/pyaction@0.3.16
2229
continue-on-error: true

.github/workflows/validation.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
testdir:
99
type: string
1010
default: tests
11+
python-version:
12+
type: string
13+
default: 3.11.2
1114

1215
jobs:
1316
validation:
@@ -22,6 +25,9 @@ jobs:
2225
args: -m integration
2326
steps:
2427
- uses: actions/checkout@v2
28+
- uses: actions/setup-python@v4.6.0
29+
with:
30+
python-version: ${{ inputs.python-version }}
2531
- name: ${{ matrix.tools }}
2632
uses: microsoft/action-python@0.3.15
2733
with:

0 commit comments

Comments
 (0)