Skip to content

Commit 95d55dc

Browse files
authored
Add-OrangePi5max-image (#1444)
Completes #1420
1 parent 95236e5 commit 95d55dc

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,12 @@ jobs:
439439
image_url: https://github.com/PhotonVision/photon-image-modifier/releases/download/v2025.0.0-beta-3/photonvision_opi5pro.img.xz
440440
cpu: cortex-a8
441441
image_additional_mb: 1024
442+
- os: ubuntu-latest
443+
artifact-name: LinuxArm64
444+
image_suffix: orangepi5max
445+
image_url: https://github.com/PhotonVision/photon-image-modifier/releases/download/v2025.0.0-beta-6/photonvision_opi5max.img.xz
446+
cpu: cortex-a8
447+
image_additional_mb: 1024
442448

443449
runs-on: ${{ matrix.os }}
444450
name: "Build image - ${{ matrix.image_url }}"
@@ -509,10 +515,19 @@ jobs:
509515
**/photonlib*.zip
510516
if: github.event_name == 'push'
511517
# Upload all jars and xz archives
512-
- uses: softprops/action-gh-release@v1
518+
# Split into two uploads to work around max size limits in action-gh-releases
519+
# https://github.com/softprops/action-gh-release/issues/353
520+
- uses: softprops/[email protected]
513521
with:
514522
files: |
515-
**/*.xz
523+
**/*orangepi5*.xz
524+
if: startsWith(github.ref, 'refs/tags/v')
525+
env:
526+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
527+
- uses: softprops/[email protected]
528+
with:
529+
files: |
530+
**/!(*orangepi5*).xz
516531
**/*.jar
517532
**/photonlib*.json
518533
**/photonlib*.zip

0 commit comments

Comments
 (0)