upload artifacts

This commit is contained in:
David Holdeman 2020-07-19 15:05:47 -05:00
parent 49e9e08c65
commit 3c51cdded8
1 changed files with 21 additions and 0 deletions

View File

@ -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