From 95d55dc977b3e921a10c9889f4755c812d69b43b Mon Sep 17 00:00:00 2001 From: Craig Schardt Date: Mon, 30 Sep 2024 22:21:44 -0500 Subject: [PATCH] Add-OrangePi5max-image (#1444) Completes #1420 --- .github/workflows/build.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d342d07c..8a8d494d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -439,6 +439,12 @@ jobs: image_url: https://github.com/PhotonVision/photon-image-modifier/releases/download/v2025.0.0-beta-3/photonvision_opi5pro.img.xz cpu: cortex-a8 image_additional_mb: 1024 + - os: ubuntu-latest + artifact-name: LinuxArm64 + image_suffix: orangepi5max + image_url: https://github.com/PhotonVision/photon-image-modifier/releases/download/v2025.0.0-beta-6/photonvision_opi5max.img.xz + cpu: cortex-a8 + image_additional_mb: 1024 runs-on: ${{ matrix.os }} name: "Build image - ${{ matrix.image_url }}" @@ -509,10 +515,19 @@ jobs: **/photonlib*.zip if: github.event_name == 'push' # Upload all jars and xz archives - - uses: softprops/action-gh-release@v1 + # Split into two uploads to work around max size limits in action-gh-releases + # https://github.com/softprops/action-gh-release/issues/353 + - uses: softprops/action-gh-release@v2.0.8 with: files: | - **/*.xz + **/*orangepi5*.xz + if: startsWith(github.ref, 'refs/tags/v') + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: softprops/action-gh-release@v2.0.8 + with: + files: | + **/!(*orangepi5*).xz **/*.jar **/photonlib*.json **/photonlib*.zip