Skip to content

Commit 4579407

Browse files
committed
🧪💅 Mv reusable-windows workflow env to top
Previously, it was duplicated in each job which is not DRY.
1 parent c2bd0ed commit 4579407

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

‎.github/workflows/reusable-windows.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ on:
77
type: boolean
88
default: false
99

10+
env:
11+
IncludeUwp: >-
12+
true
13+
1014
jobs:
1115
build_win32:
1216
name: 'build and test (x86)'
1317
runs-on: windows-latest
1418
timeout-minutes: 60
15-
env:
16-
IncludeUwp: 'true'
1719
steps:
1820
- uses: actions/checkout@v4
1921
- name: Build CPython
@@ -27,8 +29,6 @@ jobs:
2729
name: 'build and test (x64)'
2830
runs-on: windows-latest
2931
timeout-minutes: 60
30-
env:
31-
IncludeUwp: 'true'
3232
steps:
3333
- uses: actions/checkout@v4
3434
- name: Register MSVC problem matcher
@@ -44,8 +44,6 @@ jobs:
4444
name: 'build (arm64)'
4545
runs-on: windows-latest
4646
timeout-minutes: 60
47-
env:
48-
IncludeUwp: 'true'
4947
steps:
5048
- uses: actions/checkout@v4
5149
- name: Register MSVC problem matcher

0 commit comments

Comments
 (0)