Skip to content

Commit ee1bdfb

Browse files
committed
[*] use actions/setup-python for the explicit explicit consistent behavior between different runners
1 parent 0e9f9af commit ee1bdfb

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ jobs:
1010
name: Upload Release Asset
1111
runs-on: windows-latest
1212
steps:
13+
- uses: actions/setup-python@v3
14+
with:
15+
python-version: '3.10.4'
1316

1417
- name: Checkout code
15-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1619

1720
- name: Build project # This would actually build your project, using zip for an example artifact
1821
run: |

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
name: Test Python set up
1111
runs-on: windows-latest
1212
steps:
13+
- uses: actions/setup-python@v3
14+
with:
15+
python-version: '3.10.4'
1316

1417
- name: Check out code
1518
uses: actions/checkout@v3

0 commit comments

Comments
 (0)