Skip to content

Commit

Permalink
add pr artifact message action
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamink committed Oct 1, 2024
1 parent 8f06257 commit 9906b66
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,24 @@ jobs:

- name: Build release
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

- name: Upload releases
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v4
with:
name: fujinet-${{ matrix.target-platform }}.zip
path: ./firmware/*.zip
compression-level: 0

link:
if: ${{ github.event_name == 'pull_request' }}
needs: tagged-release
runs-on: ubuntu-latest

permissions:
contents: write # for commenting on your commit
pull-requests: write # for commenting on your pr
steps:
- uses: beni69/artifact-link@v1
with:
token: ${{ github.token }}

0 comments on commit 9906b66

Please sign in to comment.