@@ -30,10 +30,10 @@ jobs:
30
30
with :
31
31
submodules : false
32
32
fetch-depth : 1
33
- - name : Set up Python 3.8
34
- uses : actions/setup-python@v1
33
+ - name : Set up Python 3
34
+ uses : actions/setup-python@v2
35
35
with :
36
- python-version : 3.8
36
+ python-version : " 3.x "
37
37
- name : Get CP deps
38
38
run : python tools/ci_fetch_deps.py test ${{ github.sha }}
39
39
- name : CircuitPython version
@@ -136,10 +136,10 @@ jobs:
136
136
with :
137
137
submodules : false
138
138
fetch-depth : 1
139
- - name : Set up Python 3.8
140
- uses : actions/setup-python@v1
139
+ - name : Set up Python 3
140
+ uses : actions/setup-python@v2
141
141
with :
142
- python-version : 3.8
142
+ python-version : " 3.x "
143
143
- name : Get CP deps
144
144
run : python tools/ci_fetch_deps.py mpy-cross-mac ${{ github.sha }}
145
145
- name : CircuitPython version
@@ -202,10 +202,10 @@ jobs:
202
202
run : |
203
203
git describe --dirty --tags
204
204
echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags)
205
- - name : Set up Python 3.8
206
- uses : actions/setup-python@v1
205
+ - name : Set up Python 3
206
+ uses : actions/setup-python@v2
207
207
with :
208
- python-version : 3.8
208
+ python-version : " 3.x "
209
209
- name : Install dependencies
210
210
run : |
211
211
sudo apt-get update
@@ -241,7 +241,7 @@ jobs:
241
241
zip -9r circuitpython-stubs.zip circuitpython-stubs
242
242
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp circuitpython-stubs/dist/*.tar.gz s3://adafruit-circuit-python/bin/stubs/circuitpython-stubs-${{ env.CP_VERSION }}.zip --no-progress --region us-east-1
243
243
- name : Upload stubs to PyPi
244
- if : ( github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || (github.event_name == ' release' && (github.event.action == 'published' || github.event.action == 'rerequested') )
244
+ if : github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested')
245
245
env :
246
246
TWINE_USERNAME : ${{ secrets.pypi_username }}
247
247
TWINE_PASSWORD : ${{ secrets.pypi_password }}
@@ -260,10 +260,10 @@ jobs:
260
260
board : ${{ fromJSON(needs.test.outputs.boards-arm) }}
261
261
if : ${{ needs.test.outputs.boards-arm != '[]' }}
262
262
steps :
263
- - name : Set up Python 3.8
264
- uses : actions/setup-python@v1
263
+ - name : Set up Python 3
264
+ uses : actions/setup-python@v2
265
265
with :
266
- python-version : 3.8
266
+ python-version : " 3.x "
267
267
268
268
with :
269
269
submodules : false
@@ -312,10 +312,10 @@ jobs:
312
312
board : ${{ fromJSON(needs.test.outputs.boards-riscv) }}
313
313
if : ${{ needs.test.outputs.boards-riscv != '[]' }}
314
314
steps :
315
- - name : Set up Python 3.8
316
- uses : actions/setup-python@v1
315
+ - name : Set up Python 3
316
+ uses : actions/setup-python@v2
317
317
with :
318
- python-version : 3.8
318
+ python-version : " 3.x "
319
319
320
320
with :
321
321
submodules : false
@@ -364,10 +364,10 @@ jobs:
364
364
board : ${{ fromJSON(needs.test.outputs.boards-espressif) }}
365
365
if : ${{ needs.test.outputs.boards-espressif != '[]' }}
366
366
steps :
367
- - name : Set up Python 3.8
368
- uses : actions/setup-python@v1
367
+ - name : Set up Python 3
368
+ uses : actions/setup-python@v2
369
369
with :
370
- python-version : 3.8
370
+ python-version : " 3.x "
371
371
372
372
with :
373
373
submodules : false
@@ -451,10 +451,10 @@ jobs:
451
451
board : ${{ fromJSON(needs.test.outputs.boards-aarch) }}
452
452
if : ${{ needs.test.outputs.boards-aarch != '[]' }}
453
453
steps :
454
- - name : Set up Python 3.8
455
- uses : actions/setup-python@v1
454
+ - name : Set up Python 3
455
+ uses : actions/setup-python@v2
456
456
with :
457
- python-version : 3.8
457
+ python-version : " 3.x "
458
458
459
459
with :
460
460
submodules : false
0 commit comments