Skip to content

Commit

Permalink
add firmware.zip checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
docgalaxyblock committed May 29, 2024
1 parent bf979bf commit 8f3a6da
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ jobs:
run: |
zip -r release/firmware.zip firmware
- name: Calculating checksum
shell: bash
run: |
sha256sum release/firmware.zip > release/firmware.sha256
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down Expand Up @@ -227,11 +232,16 @@ jobs:
run: |
zip -r firmware.zip firmware
- name: Calculating checksum
shell: bash
run: |
sha256sum firmware.zip > firmware.sha256
- uses: "marvinpinto/action-automatic-releases@latest"
if: github.event_name != 'pull_request'
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
title: "Latest Firmware"
automatic_release_tag: "latest"
prerelease: true
files: firmware.zip
files: firmware.{sha256,zip}

0 comments on commit 8f3a6da

Please sign in to comment.