From 33be546b9439f1cc95f04c83a33ab91d9bd40c08 Mon Sep 17 00:00:00 2001 From: Vadim Kaushan Date: Tue, 29 Sep 2020 15:40:47 +0300 Subject: [PATCH] Publish target_f1 artifacts in CI, build target_f2 in CI (#141) * Publish target_f1 artifacts in CI * Add target_f2 to CI --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce689ab2..3616d6bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,3 +32,28 @@ jobs: uses: ./.github/actions/docker with: run: make -C target_f1 + + - name: Publish target_f1 artifacts + uses: actions/upload-artifact@v2 + with: + name: target_f1 + path: | + target_f1/build/target_prod.elf + target_f1/build/target_prod.bin + target_f1/build/target_prod.hex + if-no-files-found: error + + - name: Build target_f2 in docker + uses: ./.github/actions/docker + with: + run: make -C target_f2 + + - name: Publish target_f2 artifacts + uses: actions/upload-artifact@v2 + with: + name: target_f2 + path: | + target_f2/build/target_prod.elf + target_f2/build/target_prod.bin + target_f2/build/target_prod.hex + if-no-files-found: error