Skip to content

Commit

Permalink
Add official RP2040 releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jaygreco committed Apr 27, 2024
1 parent 89d6fb1 commit ac3101e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/release-fw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,38 @@ jobs:
name: precompiled-firmware-files
path: |
qmk_firmware/nullbitsco_*.hex
qmk_firmware/nullbitsco_*.uf2
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%m/%d/%Y')"
run: echo "date=$(date +'%m/%d/%Y')" >> $GITHUB_OUTPUT
- name: Generate release text
id: release_text
run: >
echo "::set-output name=release_text::$(echo '<b>Precompiled firmware files for nullbits keyboards</b><br><br>
echo "release_text=$(echo '<b>Precompiled firmware files for nullbits keyboards</b><br><br>
Download a firmware file by expanding "Assets", right clicking, and choosing "Save File As" or "Save Link As".
<br>${{ github.event.inputs.releaseBody }}
<br>Released on ${{ steps.date.outputs.date }}.
<br><br>${{ steps.docker_build.outputs.commits }}')"
- name: Create release
<br><br>${{ steps.docker_build.outputs.commits }}')" >> $GITHUB_OUTPUT
- name: Create release (AVR)
uses: ncipollo/release-action@v1
with:
artifacts: "qmk_firmware/nullbitsco_*.hex"
allowUpdates: true
artifactErrorsFailBuild: true
body: ${{ steps.release_text.outputs.release_text }}
tag: "latest"
name: "Precompiled Firmware Files"
name: "Precompiled Firmware Files (AVR)"
token: ${{ secrets.GITHUB_TOKEN }}
removeArtifacts: true
makeLatest: true
- name: Create release (RP2040)
uses: ncipollo/release-action@v1
with:
artifacts: "qmk_firmware/nullbitsco_*.uf2"
allowUpdates: true
artifactErrorsFailBuild: true
body: ${{ steps.release_text.outputs.release_text }}
tag: "latest-rp2040"
name: "Precompiled Firmware Files (RP2040)"
token: ${{ secrets.GITHUB_TOKEN }}
removeArtifacts: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Nightly firmware build](https://github.com/nullbitsco/firmware/actions/workflows/build-fw.yml/badge.svg)](https://github.com/nullbitsco/firmware/actions/workflows/build-fw.yml)

For use with [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases). Follow the flashing guide [here](https://github.com/nullbitsco/docs/blob/main/firmware/firmware_flashing.md).
# [Download link](https://github.com/nullbitsco/firmware/releases/tag/latest) or [RP2040/Bit-C PRO](https://github.com/nullbitsco/firmware/releases/tag/nightly-rp2040)
# [Download link](https://github.com/nullbitsco/firmware/releases/tag/latest) or [RP2040/Bit-C PRO](https://github.com/nullbitsco/firmware/releases/tag/latest-rp2040)

### Looking for the source code instead?
For those who want to compile along at home.
Expand Down

0 comments on commit ac3101e

Please sign in to comment.