[CI] upload build artifacts

This commit is contained in:
Samuel Sadok
2021-09-03 16:55:19 +02:00
parent 27c01dc180
commit be6dca6ffe

View File

@@ -5,7 +5,7 @@ on:
branches: [master, devel]
tags: ['fw-v*']
push:
branches: [master, devel]
branches: [master, devel, 'fw-v*']
tags: ['fw-v*']
jobs:
@@ -112,6 +112,13 @@ jobs:
mv tup_build.sh tup_build.bat # in reality this is a .bat script on windows
.\tup_build.bat
- name: Upload binary
if: ${{ matrix.os == 'ubuntu-latest' && matrix.debug == false }}
uses: actions/upload-artifact@v2
with:
name: firmware-${{ matrix.board_version }}
path: Firmware/build/ODriveFirmware.{elf,bin,hex}
code-checks:
strategy:
fail-fast: false