16
16
env :
17
17
GITHUB_CONTEXT : ${{ toJson(github) }}
18
18
run : echo "$GITHUB_CONTEXT"
19
+ - uses : actions/checkout@v2
20
+ with :
21
+ submodules : true
22
+ fetch-depth : 0
23
+ - run : git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
24
+ - run : git submodule sync
25
+ - run : git submodule foreach git remote -v
26
+ - run : git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
27
+ - name : CircuitPython version
28
+ run : git describe --dirty --tags
19
29
- name : Set up Python 3.8
20
30
uses : actions/setup-python@v1
21
31
with :
29
39
run : |
30
40
gcc --version
31
41
python3 --version
32
- - uses : actions/checkout@v1
33
- with :
34
- submodules : true
35
- - name : CircuitPython version
36
- run : git describe --dirty --always --tags
37
42
- name : Build mpy-cross
38
43
run : make -C mpy-cross -j2
39
44
- name : Build unix port
@@ -103,11 +108,16 @@ jobs:
103
108
gcc --version
104
109
python3 --version
105
110
msgfmt --version
106
- - uses : actions/checkout@v1
111
+ - uses : actions/checkout@v2
107
112
with :
108
113
submodules : true
114
+ fetch-depth : 0
115
+ - run : git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
116
+ - run : git submodule sync
117
+ - run : git submodule foreach git remote -v
118
+ - run : git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
109
119
- name : CircuitPython version
110
- run : git describe --dirty --always -- tags
120
+ run : git describe --dirty --tags
111
121
- name : Build mpy-cross
112
122
run : make -C mpy-cross -j2
113
123
@@ -260,9 +270,14 @@ jobs:
260
270
gcc --version
261
271
arm-none-eabi-gcc --version
262
272
python3 --version
263
- - uses : actions/checkout@v1
273
+ - uses : actions/checkout@v2
264
274
with :
265
275
submodules : true
276
+ fetch-depth : 0
277
+ - run : git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
278
+ - run : git submodule sync
279
+ - run : git submodule foreach git remote -v
280
+ - run : git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
266
281
- name : mpy-cross
267
282
run : make -C mpy-cross -j2
268
283
- name : build
@@ -325,4 +340,4 @@ jobs:
325
340
env :
326
341
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
327
342
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
328
- if : github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
343
+ if : github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
0 commit comments