Skip to content

Commit f3e7534

Browse files
committed
Use correct syntax for python exe
Also test wheels on fewer combos Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent a3a74aa commit f3e7534

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/scancode-release.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
operating_system=linux
149149
python_dot_version=3.8
150150
python_version=38
151-
echo -n "$python_version" > PYTHON_EXECUTABLE
151+
echo -n "python$python_dot_version" > PYTHON_EXECUTABLE
152152
rm -rf thirdparty build dist
153153
rm -rf .eggs src/scancode_toolkit.egg-info src/scancode_toolkit_mini.egg-info
154154
mkdir -p thirdparty
@@ -363,8 +363,10 @@ jobs:
363363
strategy:
364364
fail-fast: true
365365
matrix:
366-
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, macos-10.15, macos-11, macos-12]
367-
pyver: ["3.7", "3.8", "3.9", "3.10"]
366+
os: [ubuntu-22.04, macos-12]
367+
pyver: ["3.9", "3.10"]
368+
# os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, macos-10.15, macos-11, macos-12]
369+
# pyver: ["3.7", "3.8", "3.9", "3.10"]
368370

369371
steps:
370372
- uses: actions/checkout@v2
@@ -411,8 +413,10 @@ jobs:
411413
strategy:
412414
fail-fast: true
413415
matrix:
414-
os: [windows-2019, windows-2022]
415-
pyver: ["3.7", "3.8", "3.9", "3.10"]
416+
os: [windows-2022]
417+
pyver: ["3.9", "3.10"]
418+
#os: [windows-2019, windows-2022]
419+
#pyver: ["3.7", "3.8", "3.9", "3.10"]
416420

417421
steps:
418422
- uses: actions/checkout@v2
@@ -460,8 +464,7 @@ jobs:
460464
strategy:
461465
fail-fast: true
462466
matrix:
463-
os: [ubuntu-18.04, ubuntu-20.04]
464-
# , ubuntu-22.04]
467+
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04]
465468
pyver: [3.8]
466469

467470
steps:

0 commit comments

Comments
 (0)