mirror of https://github.com/FOME-Tech/fome-fw.git
upload bundles for all master firmware builds
This commit is contained in:
parent
00761c5c32
commit
39899a03f5
|
@ -9,10 +9,6 @@ on:
|
|||
description: 'LTS Build'
|
||||
required: false
|
||||
type: boolean
|
||||
bundle:
|
||||
description: 'Make full firmware bundle'
|
||||
required: false
|
||||
type: boolean
|
||||
|
||||
jobs:
|
||||
build-firmware:
|
||||
|
@ -249,17 +245,17 @@ jobs:
|
|||
|
||||
# Build rusEFI console
|
||||
- name: Build console
|
||||
if: ${{ inputs.bundle || inputs.lts }}
|
||||
if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master' && !inputs.lts }}
|
||||
run: bash misc/jenkins/build_java_console.sh
|
||||
|
||||
# Build the simulator
|
||||
- name: Build Windows simulator
|
||||
if: ${{ inputs.bundle || inputs.lts }}
|
||||
if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master' && !inputs.lts }}
|
||||
# 'OS="Windows_NT"' allows us to build Windows executable on unix
|
||||
run: OS="Windows_NT" bash misc/jenkins/build_simulator.sh
|
||||
|
||||
- name: Package Bundle
|
||||
if: ${{ inputs.bundle || inputs.lts }}
|
||||
if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master' && !inputs.lts }}
|
||||
run: bash misc/jenkins/compile_other_versions/prepare_bundle.sh ${{matrix.build-target}} "${{matrix.ini-file}}" ${{ github.ref_name }} ${{ toJSON(inputs.lts) }}
|
||||
|
||||
# - name: Upload HyperTuner .ini
|
||||
|
@ -272,7 +268,7 @@ jobs:
|
|||
# ecosystem: fome
|
||||
|
||||
# - name: Upload .ini files
|
||||
# if: ${{ inputs.bundle || inputs.lts }}
|
||||
# if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master' && !inputs.lts }}
|
||||
# working-directory: ./firmware/tunerstudio/generated
|
||||
# run: |
|
||||
# ../upload_ini.sh ${{matrix.ini-file}} ${{ secrets.RUSEFI_ONLINE_FTP_USER }} ${{ secrets.RUSEFI_ONLINE_FTP_PASS }} ${{ secrets.RUSEFI_FTP_SERVER }}
|
||||
|
@ -306,7 +302,7 @@ jobs:
|
|||
# path: ./firmware/deliver/rusefi*.dfu
|
||||
|
||||
- name: Upload bundle
|
||||
if: ${{ inputs.bundle || inputs.lts }}
|
||||
if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master' && !inputs.lts }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: fome_bundle_${{matrix.build-target}}.zip
|
||||
|
|
Loading…
Reference in New Issue