Skip to content

Commit c2de8d8

Browse files
committed
Use inputs.arch
1 parent bc98a90 commit c2de8d8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/reusable-windows-msi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
runs-on: ${{ inputs.os }}
2525
timeout-minutes: 60
2626
env:
27-
ARCH: ${{ inputs.arch }}
2827
IncludeFreethreaded: true
2928
steps:
3029
- uses: actions/checkout@v4
3130
with:
3231
persist-credentials: false
3332
- name: Build CPython installer
34-
run: ./Tools/msi/build.bat --doc -"%ARCH%"
3533
shell: cmd
34+
run: ./Tools/msi/build.bat --doc -${{ inputs.arch }}
35+

.github/workflows/reusable-windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ jobs:
2727
name: Build and test (${{ inputs.arch }})
2828
runs-on: ${{ inputs.os }}
2929
timeout-minutes: 60
30-
env:
31-
ARCH: ${{ inputs.arch }}
3230
steps:
3331
- uses: actions/checkout@v4
3432
with:
@@ -40,13 +38,15 @@ jobs:
4038
run: >-
4139
.\\PCbuild\\build.bat
4240
-e -d -v
43-
-p "${ARCH}"
41+
-p ${{ inputs.arch }}
4442
${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
43+
shell: cmd
4544
- name: Display build info
4645
run: .\\python.bat -m test.pythoninfo
4746
- name: Tests
4847
run: >-
4948
.\\PCbuild\\rt.bat
50-
-p "${ARCH}"
49+
-p ${{ inputs.arch }}
5150
-d -q --fast-ci
5251
${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
52+
shell: cmd

0 commit comments

Comments
 (0)