From 3c51cdded85818cfa8aed7f7e0ea2f70641dac86 Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Sun, 19 Jul 2020 15:05:47 -0500 Subject: [PATCH] upload artifacts --- .github/workflows/build-firmware.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index 71269b7d2a..bbdb9a267a 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -133,6 +133,27 @@ jobs: name: console ${{matrix.build-target}} junit path: ./java_console/build/*.txt + - name: Upload build bin + if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master' }} + uses: actions/upload-artifacts@v2 + with: + name: rusefi_${{matrix.build-target}}.bin + path: firmware/deliver/rusefi_${{matrix.build-target}}.bin + + - name: Upload build hex + if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master' }} + uses: actions/upload-artifacts@v2 + with: + name: rusefi_${{matrix.build-target}}.hex + path: firmware/deliver/rusefi_${{matrix.build-target}}.hex + + - name: Upload build dfu + if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master' }} + uses: actions/upload-artifacts@v2 + with: + name: rusefi_${{matrix.build-target}}.dfu + path: firmware/deliver/rusefi_${{matrix.build-target}}.dfu + - name: Upload bundle if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} uses: actions/upload-artifact@v2