diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d342d07cb..8a8d494d09 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