Skip to content

Commit bf603c0

Browse files
authored
Merge pull request #8 from Leengit/versions_as_strings
ENH: Versions as strings, not numbers, so that 3.1 != 3.10, etc.
2 parents 7b32cbe + ddaedc7 commit bf603c0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/build-test-cxx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Set up Python 3.8
4545
uses: actions/setup-python@v2
4646
with:
47-
python-version: 3.8
47+
python-version: "3.8"
4848

4949
- name: Install build dependencies
5050
run: |

.github/workflows/build-test-package-python.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ on:
1515
pypi_password:
1616
required: false # Packages will not be uploaded to PyPI if not set
1717

18-
jobs:
18+
jobs:
1919
build-linux-python-packages:
2020
runs-on: ubuntu-20.04
2121
strategy:
2222
max-parallel: 2
2323
matrix:
24-
python-version: [37, 38, 39, 310]
24+
python-version: ["37", "38", "39", "310"]
2525

2626
steps:
2727
- uses: actions/checkout@v2
@@ -49,7 +49,7 @@ jobs:
4949
else
5050
CMAKE_OPTIONS="--cmake_options ${{ inputs.cmake-options }}"
5151
fi
52-
52+
5353
for tarball in "-manylinux_2_28" "-manylinux2014"; do
5454
rm -rf ITKPythonPackage
5555
export TARBALL_SPECIALIZATION=${tarball}
@@ -105,7 +105,7 @@ jobs:
105105
strategy:
106106
max-parallel: 2
107107
matrix:
108-
python-version-minor: [7, 8, 9, 10]
108+
python-version-minor: ["7", "8", "9", "10"]
109109

110110
steps:
111111
- name: Get specific version of CMake, Ninja

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ runs:
4646
- name: Set up Python 3.8
4747
uses: actions/setup-python@v2
4848
with:
49-
python-version: 3.8
49+
python-version: "3.8"
5050

5151
- name: Install build dependencies
5252
shell: bash

0 commit comments

Comments
 (0)