Collect binary artifacts from build

This commit is contained in:
Knutwurst
2020-09-04 18:19:45 +02:00
parent e9987ba2f2
commit 05ae92def7
2 changed files with 50 additions and 44 deletions

View File

@@ -12,16 +12,12 @@ on:
jobs: jobs:
bump_date: bump_date:
name: Bump Distribution Date name: Bump Distribution Date
if: github.repository == 'knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out master - uses: actions/checkout@master
uses: actions/checkout@master
with:
ref: master
- name: Bump Distribution Date - name: Bump Distribution Date
run: | run: |

View File

@@ -35,43 +35,42 @@ jobs:
platform: platform:
# Knutwurst Base Environments # Knutwurst Base Environments
- i3_MEGA_1stgen #- i3_MEGA_1stgen
- i3_MEGA_1stgen_TMC #- i3_MEGA_1stgen_TMC
- i3_MEGA_1stgen_BLTOUCH_10 #- i3_MEGA_1stgen_BLTOUCH_10
- i3_MEGA_1stgen_BLTOUCH_11 #- i3_MEGA_1stgen_BLTOUCH_11
- i3_MEGA_1stgen_TMC_BLTOUCH_10 #- i3_MEGA_1stgen_TMC_BLTOUCH_10
- i3_MEGA_1stgen_TMC_BLTOUCH_11 #- i3_MEGA_1stgen_TMC_BLTOUCH_11
- i3_MEGA #- i3_MEGA
- i3_MEGA_TMC #- i3_MEGA_TMC
- i3_MEGA_BLTOUCH_10 #- i3_MEGA_BLTOUCH_10
- i3_MEGA_BLTOUCH_11 #- i3_MEGA_BLTOUCH_11
- i3_MEGA_TMC_BLTOUCH_10 #- i3_MEGA_TMC_BLTOUCH_10
- i3_MEGA_TMC_BLTOUCH_11 #- i3_MEGA_TMC_BLTOUCH_11
- i3_MEGA_S - i3_MEGA_S
- i3_MEGA_S_TMC #- i3_MEGA_S_TMC
- i3_MEGA_S_BLTOUCH_10 #- i3_MEGA_S_BLTOUCH_10
- i3_MEGA_S_BLTOUCH_11 #- i3_MEGA_S_BLTOUCH_11
- i3_MEGA_S_TMC_BLTOUCH_10 #- i3_MEGA_S_TMC_BLTOUCH_10
- i3_MEGA_S_TMC_BLTOUCH_11 #- i3_MEGA_S_TMC_BLTOUCH_11
- i3_MEGA_S_DGUS #- i3_MEGA_S_DGUS
- i3_MEGA_S_DGUS_TMC #- i3_MEGA_S_DGUS_TMC
- i3_MEGA_S_DGUS_BLTOUCH_10 #- i3_MEGA_S_DGUS_BLTOUCH_10
- i3_MEGA_S_DGUS_BLTOUCH_11 #- i3_MEGA_S_DGUS_BLTOUCH_11
- i3_MEGA_S_DGUS_TMC_BLTOUCH_10 #- i3_MEGA_S_DGUS_TMC_BLTOUCH_10
- i3_MEGA_S_DGUS_TMC_BLTOUCH_11 #- i3_MEGA_S_DGUS_TMC_BLTOUCH_11
- i3_MEGA_X #- i3_MEGA_X
- i3_MEGA_X_TMC #- i3_MEGA_X_TMC
- i3_MEGA_X_BLTOUCH_10 #- i3_MEGA_X_BLTOUCH_10
- i3_MEGA_X_BLTOUCH_11 #- i3_MEGA_X_BLTOUCH_11
- i3_MEGA_X_TMC_BLTOUCH_10 #- i3_MEGA_X_TMC_BLTOUCH_10
- i3_MEGA_X_TMC_BLTOUCH_11 #- i3_MEGA_X_TMC_BLTOUCH_11
- i3_MEGA_P #- i3_MEGA_P
- i3_MEGA_P_TMC #- i3_MEGA_P_TMC
- i3_MEGA_P_BLTOUCH_10 #- i3_MEGA_P_BLTOUCH_10
- i3_MEGA_P_BLTOUCH_11 #- i3_MEGA_P_BLTOUCH_11
- i3_MEGA_P_TMC_BLTOUCH_10 #- i3_MEGA_P_TMC_BLTOUCH_10
- i3_MEGA_P_TMC_BLTOUCH_11 #- i3_MEGA_P_TMC_BLTOUCH_11
steps: steps:
@@ -94,5 +93,16 @@ jobs:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Run PlatformIO - name: Run PlatformIO
run: platformio run --environment ${{ matrix.platform }} run: |
platformio run --environment ${{ matrix.platform }}
- name: Create artifact dir
run: |
mkdir -partifacts
- name: Archive production artifacts
uses: actions/upload-artifact@master
with:
name: ${{ matrix.platform }}.hex
path: |
.pio/build/firmware.hex