Skip to content

Commit fd383c8

Browse files
committed
actions: build-riscv: switch to checkout@v2
1 parent 6957aaf commit fd383c8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,14 @@ jobs:
329329
gcc --version
330330
riscv64-unknown-elf-gcc --version
331331
python3 --version
332-
- uses: actions/checkout@v1
332+
- uses: actions/checkout@v2
333333
with:
334334
submodules: true
335+
fetch-depth: 0
336+
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
337+
- run: git submodule sync
338+
- run: git submodule foreach git remote -v
339+
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
335340
- name: mpy-cross
336341
run: make -C mpy-cross -j2
337342
- name: build

0 commit comments

Comments
 (0)