v2 #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: main | |
- name: install devbox | |
uses: jetpack-io/[email protected] | |
- name: build project | |
id: build | |
run: | | |
devbox run make | |
cp *.hex fluffy58.hex | |
- name: release | |
uses: softprops/[email protected] | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: fluffy58.hex | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: fluffy58 firmware for lily58 | |
path: fluffy58.hex |