File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 4747 build/*.bin
4848 build/*.uf2
4949
50+ - name : Zip release files
51+ if : startsWith(github.ref, 'refs/tags/')
52+ run : |
53+ if [ -d build ]; then
54+ (
55+ echo "Built from Adafruit Learning System Guides `git describe --tags` for ${{ matrix.arduino-platform }}"
56+ echo "Source code: https://github.com/adafruit/"
57+ echo "Adafruit Learning System: https://learn.adafruit.com/"
58+ ) > build/README.txt
59+ cd build && zip -9 -o ${{ matrix.arduino-platform }}.zip *.hex *.bin *.uf2 *.txt
60+ fi
61+
62+ - name : Create release
63+ if : startsWith(github.ref, 'refs/tags/')
64+ uses : softprops/action-gh-release@v1
65+ with :
66+ files : build/${{ matrix.arduino-platform }}.zip
67+ fail_on_unmatched_files : false
68+ body : " Select the zip file corresponding to your board from the list below."
69+
5070 pylint :
5171 runs-on : ubuntu-latest
5272 steps :
You can’t perform that action at this time.
0 commit comments