Skip to content

Commit cb13178

Browse files
committed
update action version
update actions/checkout from v2 to v3 update actions/setup-python from v2 to v4 remove python 3.6
1 parent e65419b commit cb13178

File tree

1 file changed

+46
-9
lines changed

1 file changed

+46
-9
lines changed

.github/workflows/build.yml

Lines changed: 46 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ jobs:
1414
name: sdist
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions/setup-python@v2
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-python@v4
19+
with:
20+
python-version: '3.10'
1921
- name: Create sdist
2022
run: python setup.py sdist
2123
shell: bash
@@ -40,13 +42,25 @@ jobs:
4042
os_tag: manylinux_x86_64
4143
- os: macos-latest
4244
os_tag: macosx_x86_64
45+
- python_tag: cp37
46+
python_version: '3.7'
47+
- python_tag: cp38
48+
python_version: '3.8'
49+
- python_tag: cp39
50+
python_version: '3.9'
51+
- python_tag: cp310
52+
python_version: "3.10"
53+
- python_tag: cp311
54+
python_version: "3.11"
4355

4456
name: "wheel: ${{ matrix.python_tag }}-${{ matrix.os_tag }}"
4557
runs-on: ${{ matrix.os }}
4658

4759
steps:
48-
- uses: actions/checkout@v2
49-
- uses: actions/setup-python@v2
60+
- uses: actions/checkout@v3
61+
- uses: actions/setup-python@v4
62+
with:
63+
python-version: ${{ matrix.python_version }}
5064

5165
- name: Install prerequisites
5266
run: |
@@ -84,13 +98,24 @@ jobs:
8498
matrix:
8599
python_tag: [cp38, cp39, cp310, cp311]
86100
macos_arch: [arm64, universal2]
101+
include:
102+
- python_tag: cp38
103+
python_version: '3.8'
104+
- python_tag: cp39
105+
python_version: '3.9'
106+
- python_tag: cp310
107+
python_version: "3.10"
108+
- python_tag: cp311
109+
python_version: "3.11"
87110

88111
name: "wheel: ${{ matrix.python_tag }}-macosx_${{ matrix.macos_arch }}"
89112
runs-on: macos-latest
90113

91114
steps:
92-
- uses: actions/checkout@v2
93-
- uses: actions/setup-python@v2
115+
- uses: actions/checkout@v3
116+
- uses: actions/setup-python@v4
117+
with:
118+
python-version: ${{ matrix.python_version }}
94119

95120
- name: Install prerequisites
96121
run: |
@@ -126,7 +151,7 @@ jobs:
126151
strategy:
127152
matrix:
128153
os: [ubuntu-latest]
129-
python_tag: [cp36, cp37, cp38, cp39, cp310]
154+
python_tag: [cp37, cp38, cp39, cp310, cp311]
130155
arch: [aarch64, s390x, i686]
131156
include:
132157
- arch: aarch64
@@ -135,13 +160,25 @@ jobs:
135160
arch_tag: manylinux_s390x
136161
- arch: i686
137162
arch_tag: manylinux_i686
163+
- python_tag: cp37
164+
python_version: '3.7'
165+
- python_tag: cp38
166+
python_version: '3.8'
167+
- python_tag: cp39
168+
python_version: '3.9'
169+
- python_tag: cp310
170+
python_version: "3.10"
171+
- python_tag: cp311
172+
python_version: "3.11"
138173

139174
name: "wheel: ${{ matrix.python_tag }}-${{ matrix.arch }}"
140175
runs-on: ${{ matrix.os }}
141176

142177
steps:
143-
- uses: actions/checkout@v2
144-
- uses: actions/setup-python@v2
178+
- uses: actions/checkout@v3
179+
- uses: actions/setup-python@v4
180+
with:
181+
python-version: ${{ matrix.python_version }}
145182
- name: Set up QEMU
146183
uses: docker/setup-qemu-action@v2
147184
with:

0 commit comments

Comments
 (0)