From 05ae92def76488a2055f1c2547cd1727a114ba78 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Fri, 4 Sep 2020 18:19:45 +0200 Subject: [PATCH] Collect binary artifacts from build --- .github/workflows/bump-date.yml | 8 +-- .github/workflows/test-builds.yml | 86 +++++++++++++++++-------------- 2 files changed, 50 insertions(+), 44 deletions(-) diff --git a/.github/workflows/bump-date.yml b/.github/workflows/bump-date.yml index 2a9d0648..454fa730 100755 --- a/.github/workflows/bump-date.yml +++ b/.github/workflows/bump-date.yml @@ -12,16 +12,12 @@ on: jobs: bump_date: name: Bump Distribution Date - if: github.repository == 'knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S' - + runs-on: ubuntu-latest steps: - - name: Check out master - uses: actions/checkout@master - with: - ref: master + - uses: actions/checkout@master - name: Bump Distribution Date run: | diff --git a/.github/workflows/test-builds.yml b/.github/workflows/test-builds.yml index 670bc41a..463917c9 100755 --- a/.github/workflows/test-builds.yml +++ b/.github/workflows/test-builds.yml @@ -35,43 +35,42 @@ jobs: platform: # Knutwurst Base Environments - - i3_MEGA_1stgen - - i3_MEGA_1stgen_TMC - - i3_MEGA_1stgen_BLTOUCH_10 - - i3_MEGA_1stgen_BLTOUCH_11 - - i3_MEGA_1stgen_TMC_BLTOUCH_10 - - i3_MEGA_1stgen_TMC_BLTOUCH_11 - - i3_MEGA - - i3_MEGA_TMC - - i3_MEGA_BLTOUCH_10 - - i3_MEGA_BLTOUCH_11 - - i3_MEGA_TMC_BLTOUCH_10 - - i3_MEGA_TMC_BLTOUCH_11 + #- i3_MEGA_1stgen + #- i3_MEGA_1stgen_TMC + #- i3_MEGA_1stgen_BLTOUCH_10 + #- i3_MEGA_1stgen_BLTOUCH_11 + #- i3_MEGA_1stgen_TMC_BLTOUCH_10 + #- i3_MEGA_1stgen_TMC_BLTOUCH_11 + #- i3_MEGA + #- i3_MEGA_TMC + #- i3_MEGA_BLTOUCH_10 + #- i3_MEGA_BLTOUCH_11 + #- i3_MEGA_TMC_BLTOUCH_10 + #- i3_MEGA_TMC_BLTOUCH_11 - i3_MEGA_S - - i3_MEGA_S_TMC - - i3_MEGA_S_BLTOUCH_10 - - i3_MEGA_S_BLTOUCH_11 - - i3_MEGA_S_TMC_BLTOUCH_10 - - i3_MEGA_S_TMC_BLTOUCH_11 - - i3_MEGA_S_DGUS - - i3_MEGA_S_DGUS_TMC - - i3_MEGA_S_DGUS_BLTOUCH_10 - - i3_MEGA_S_DGUS_BLTOUCH_11 - - i3_MEGA_S_DGUS_TMC_BLTOUCH_10 - - i3_MEGA_S_DGUS_TMC_BLTOUCH_11 - - i3_MEGA_X - - i3_MEGA_X_TMC - - i3_MEGA_X_BLTOUCH_10 - - i3_MEGA_X_BLTOUCH_11 - - i3_MEGA_X_TMC_BLTOUCH_10 - - i3_MEGA_X_TMC_BLTOUCH_11 - - i3_MEGA_P - - i3_MEGA_P_TMC - - i3_MEGA_P_BLTOUCH_10 - - i3_MEGA_P_BLTOUCH_11 - - i3_MEGA_P_TMC_BLTOUCH_10 - - i3_MEGA_P_TMC_BLTOUCH_11 - + #- i3_MEGA_S_TMC + #- i3_MEGA_S_BLTOUCH_10 + #- i3_MEGA_S_BLTOUCH_11 + #- i3_MEGA_S_TMC_BLTOUCH_10 + #- i3_MEGA_S_TMC_BLTOUCH_11 + #- i3_MEGA_S_DGUS + #- i3_MEGA_S_DGUS_TMC + #- i3_MEGA_S_DGUS_BLTOUCH_10 + #- i3_MEGA_S_DGUS_BLTOUCH_11 + #- i3_MEGA_S_DGUS_TMC_BLTOUCH_10 + #- i3_MEGA_S_DGUS_TMC_BLTOUCH_11 + #- i3_MEGA_X + #- i3_MEGA_X_TMC + #- i3_MEGA_X_BLTOUCH_10 + #- i3_MEGA_X_BLTOUCH_11 + #- i3_MEGA_X_TMC_BLTOUCH_10 + #- i3_MEGA_X_TMC_BLTOUCH_11 + #- i3_MEGA_P + #- i3_MEGA_P_TMC + #- i3_MEGA_P_BLTOUCH_10 + #- i3_MEGA_P_BLTOUCH_11 + #- i3_MEGA_P_TMC_BLTOUCH_10 + #- i3_MEGA_P_TMC_BLTOUCH_11 steps: @@ -94,5 +93,16 @@ jobs: - uses: actions/checkout@master - name: Run PlatformIO - run: platformio run --environment ${{ matrix.platform }} - \ No newline at end of file + 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