From a56a66e89dea9a996cb1f2daaee69b68e87973cd Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Sat, 8 May 2021 11:47:07 +0200 Subject: [PATCH] Add build step to gh actions --- .github/workflows/actions.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index edc43ea4e..d596299f7 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -41,3 +41,16 @@ jobs: run: | echo "Running commit tests" ./tools/commit-tests.sh + - + name: Build ${{ matrix.target }} + env: + FLAVOR: ${{ matrix.target }} + run: | + echo "Running firmware build" + ./tools/build-gh.sh + - + name: Package firmware ${{ matrix.target }} + uses: 'actions/upload-artifact@v2' + with: + name: firmware + path: ${{ github.workspace }}/*.bin