Skip to content

Commit

Permalink
Update firmware.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wickerwaka authored Jul 11, 2023
1 parent 22a6998 commit 50ef35d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,26 @@ jobs:
export PICO_SDK_PATH=../pico-sdk
cmake ../firmware
make
- uses: actions/upload-artifact@v3
with:
name: firmware
path: |
build/picorom.elf
build/picorom.uf2
if-no-files-found: error

release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [build]
steps:
- uses: actions/download-artifact@v3
with:
name: firmware
- name: Attach firmware
uses: svenstaro/upload-release-action@v2
with:
file_glob: true
file: picorom*

0 comments on commit 50ef35d

Please sign in to comment.