Skip to content

Commit d47a4fe

Browse files
committed
Change shell to powershell
1 parent 3b3776e commit d47a4fe

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ jobs:
2525
timeout-minutes: 60
2626
env:
2727
IncludeFreethreaded: true
28+
ARCH: ${{ inputs.arch }}
2829
steps:
2930
- uses: actions/checkout@v4
3031
with:
3132
persist-credentials: false
3233
- name: Build CPython installer
33-
shell: pwsh
34-
run: ./Tools/msi/build.bat --doc -${{ inputs.arch }}
34+
shell: powershell
35+
run: ./Tools/msi/build.bat --doc -${env:ARCH}
3536

.github/workflows/reusable-windows.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
name: Build and test (${{ inputs.arch }})
2828
runs-on: ${{ inputs.os }}
2929
timeout-minutes: 60
30+
env:
31+
ARCH: ${{ inputs.arch }}
3032
steps:
3133
- uses: actions/checkout@v4
3234
with:
@@ -38,15 +40,15 @@ jobs:
3840
run: >-
3941
.\\PCbuild\\build.bat
4042
-e -d -v
41-
-p ${{ inputs.arch }}
43+
-p ${env:ARCH}
4244
${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
43-
shell: pwsh
45+
shell: powershell
4446
- name: Display build info
4547
run: .\\python.bat -m test.pythoninfo
4648
- name: Tests
4749
run: >-
4850
.\\PCbuild\\rt.bat
49-
-p ${{ inputs.arch }}
51+
-p ${env:ARCH}
5052
-d -q --fast-ci
5153
${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
52-
shell: pwsh
54+
shell: powershell

0 commit comments

Comments
 (0)