From b69a186bae862d32205297502fc184d0ab143a84 Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Fri, 24 Feb 2023 19:16:39 +0100 Subject: [PATCH] final --- .github/workflows/build.yml | 43 +++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee61977..5a12269 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,31 +13,31 @@ on: workflow_dispatch: jobs: - # build-fw-hw-sw: - # runs-on: ubuntu-latest + build-fw-hw-sw: + runs-on: ubuntu-latest - # steps: - # - name: Git checkout - # uses: actions/checkout@v3 + steps: + - name: Download SummerCart64 repository + uses: actions/checkout@v3 - # - name: Build script - # run: ./docker_build.sh release --force-clean + - name: Build everything + run: ./docker_build.sh release --force-clean - # - name: Upload artifact - # uses: actions/upload-artifact@v3 - # with: - # name: SC64 - # path: SC64.zip + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: SC64 + path: SC64.zip - # - name: Upload release assets - # if: github.event_name == 'release' && github.event.action == 'created' - # uses: softprops/action-gh-release@v0.1.15 - # with: - # files: | - # SC64.zip - # sc64_firmware.bin + - name: Upload release assets + if: github.event_name == 'release' && github.event.action == 'created' + uses: softprops/action-gh-release@v0.1.15 + with: + files: | + SC64.zip + sw/update/sc64_firmware.bin - build-apps: + build-sc64-py: strategy: matrix: os: [windows-latest, ubuntu-latest, macos-latest] @@ -114,4 +114,5 @@ jobs: if: github.event_name == 'release' && github.event.action == 'created' uses: softprops/action-gh-release@v0.1.15 with: - files: sw/pc/package/${{ matrix.package-name }}.${{ matrix.package-extension }} + files: | + sw/pc/package/${{ matrix.package-name }}.${{ matrix.package-extension }}