Skip to content

Commit 01c28f0

Browse files
committed
isolate autobuild changes
1 parent 1793b61 commit 01c28f0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/autobuild.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
tagged-release:
1919
name: "PlatformIO CI"
2020
runs-on: "ubuntu-latest"
21+
2122
strategy:
2223
matrix:
2324
target-platform: [ATARI, ATARI-esp32-s3-wroom-1-n16r8, ADAM, APPLE, IEC-LOLIN-D32, IEC-NUGGET, COCO]
@@ -72,3 +73,24 @@ jobs:
7273

7374
- name: Build release
7475
run: cd /home/runner/work/fujinet-firmware/fujinet-firmware && /usr/bin/bash ./build.sh -z -l /home/runner/work/fujinet-firmware/fujinet-firmware/.github/workflows/platformio.release-${{ matrix.target-platform }}.ini -i /home/runner/work/fujinet-firmware/fujinet-firmware/platformio-generated.ini
76+
77+
- name: Upload releases
78+
if: ${{ github.event_name == 'pull_request' }}
79+
uses: actions/upload-artifact@v4
80+
with:
81+
name: fujinet-${{ matrix.target-platform }}.zip
82+
path: ./firmware/*.zip
83+
compression-level: 0
84+
85+
link:
86+
if: ${{ github.event_name == 'pull_request' }}
87+
needs: tagged-release
88+
runs-on: ubuntu-latest
89+
90+
permissions: write-all
91+
#contents: write # for commenting on your commit
92+
#pull-requests: write # for commenting on your pr
93+
steps:
94+
- uses: beni69/artifact-link@v1
95+
with:
96+
token: ${{ github.token }}

0 commit comments

Comments
 (0)