File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 30
30
name : artifacts
31
31
path : dist
32
32
33
- inspect -artifacts :
34
- name : Check resulting artifacts
33
+ combine -artifacts :
34
+ name : Combine artifacts
35
35
needs : build-libs
36
36
runs-on : ubuntu-latest
37
37
steps :
41
41
name : artifacts
42
42
path : dist
43
43
- shell : bash
44
- run : ls -l dist
44
+ run : |
45
+ mkdir -p out
46
+ find dist -name 'arduino-esp32-libs-esp*.tar.gz' -exec tar zxvf {} -C out \;
47
+ cd out/tools/esp32-arduino-libs && tar zcf ../../../dist/arduino-esp32-libs.tar.gz * && cd ../../..
48
+ cp out/package_esp32_index.template.json dist/package_esp32_index.template.json
49
+ - name : Upload full arduino-esp32-libs archive
50
+ uses : actions/upload-artifact@v3
51
+ with :
52
+ name : arduino-esp32-libs
53
+ path : dist/arduino-esp32-libs.tar.gz
54
+ - name : Upload package_esp32_index.template.json
55
+ uses : actions/upload-artifact@v3
56
+ with :
57
+ name : package-esp32-index-json
58
+ path : dist/package_esp32_index.template.json
45
59
You can’t perform that action at this time.
0 commit comments