From be6dca6ffec95e7d46170248f2ea7bc15d61a302 Mon Sep 17 00:00:00 2001 From: Samuel Sadok Date: Fri, 3 Sep 2021 16:55:19 +0200 Subject: [PATCH] [CI] upload build artifacts --- .github/workflows/compile.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml index d825bc73..f6719e26 100644 --- a/.github/workflows/compile.yaml +++ b/.github/workflows/compile.yaml @@ -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