From 3c51cdded85818cfa8aed7f7e0ea2f70641dac86 Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Sun, 19 Jul 2020 15:05:47 -0500 Subject: [PATCH 1/3] 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 From 6e1d9d1f5bfd8bc8a28975b5511d342068ad6839 Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Sun, 19 Jul 2020 15:09:29 -0500 Subject: [PATCH 2/3] fix typo --- .github/workflows/build-firmware.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index bbdb9a267a..9605b36076 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -135,21 +135,21 @@ jobs: - name: Upload build bin if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master' }} - uses: actions/upload-artifacts@v2 + uses: actions/upload-artifact@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 + uses: actions/upload-artifact@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 + uses: actions/upload-artifact@v2 with: name: rusefi_${{matrix.build-target}}.dfu path: firmware/deliver/rusefi_${{matrix.build-target}}.dfu From e1ca5c2a94b35180dbb9233c7175bf6255cb261d Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Sun, 19 Jul 2020 15:30:32 -0500 Subject: [PATCH 3/3] try ./ --- .github/workflows/build-firmware.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index 9605b36076..b14b3f4de0 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -138,21 +138,21 @@ jobs: uses: actions/upload-artifact@v2 with: name: rusefi_${{matrix.build-target}}.bin - path: firmware/deliver/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-artifact@v2 with: name: rusefi_${{matrix.build-target}}.hex - path: firmware/deliver/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-artifact@v2 with: name: rusefi_${{matrix.build-target}}.dfu - path: firmware/deliver/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' }}