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