mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-02-05 22:52:02 +08:00
[CI] upload build artifacts
This commit is contained in:
9
.github/workflows/compile.yaml
vendored
9
.github/workflows/compile.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user