Skip to content

Commit b849e09

Browse files
authored
Use PowerShell (pwsh) in windows step in main.yml (onnx#7311)
https://api.securityscorecards.dev/projects/github.com/onnx/onnx complains about "Info: Possibly incomplete results: error parsing shell code: statements must be separated by &, ; or a newline: .github/workflows/main.yml:131", --------- Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
1 parent a0e31f5 commit b849e09

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ jobs:
136136
}
137137
138138
workflow_scripts/protobuf/build_protobuf_win.ps1 -cmake_arch $cmake_arch
139+
shell: pwsh
139140

140141
- name: Build and install ONNX - Linux
141142
if: startsWith(matrix.os,'ubuntu')
@@ -187,13 +188,7 @@ jobs:
187188
- name: Install test dependencies
188189
run: |
189190
python -m pip install -r requirements-release_test.txt
190-
191-
- name: Install Pillow with JPEG 2000 support
192-
if: (matrix.python_version == '3.14-dev') && startsWith(matrix.os,'ubuntu')
193-
run: |
194-
sudo apt-get install -y libopenjp2-7-dev # TODO: integrate in test reqs
195-
python -m pip install --upgrade Pillow --no-binary :all:
196-
191+
197192
- name: Run Python tests
198193
if: (matrix.python_version != '3.13t' ) && (matrix.python_version != '3.14-dev')
199194
run: |

0 commit comments

Comments
 (0)