Skip to content

Commit

Permalink
add release to action
Browse files Browse the repository at this point in the history
  • Loading branch information
willpuckett committed Sep 27, 2024
1 parent e7c88cd commit f5eb414
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,19 @@ jobs:
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main
with:
archive_name: "ak3"

release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: write # allow workflow to commit to the repo
needs: build
steps:
- uses: actions/download-artifact@v4
with:
name: ak3
run-id: ${{ github.event.workflow_run.id }}
- name: Release
uses: softprops/action-gh-release@v2
with:
files: ak3_*.uf2

0 comments on commit f5eb414

Please sign in to comment.