We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0871d5 commit af4e140Copy full SHA for af4e140
.github/workflows/build.yml
@@ -3,6 +3,7 @@ name: Build
3
on:
4
push:
5
branches: [ main ]
6
+ tags: [ 'v*' ]
7
pull_request:
8
9
@@ -56,3 +57,23 @@ jobs:
56
57
path: |
58
${{ github.workspace }}/artifacts/*.uf2
59
${{ github.workspace }}/artifacts/*.hex
60
+
61
+ release:
62
+ needs: build
63
+ runs-on: ubuntu-latest
64
+ if: startsWith(github.ref, 'refs/tags/v')
65
+ permissions:
66
+ contents: write
67
+ steps:
68
+ - name: Download firmware artifacts
69
+ uses: actions/download-artifact@v4
70
+ with:
71
+ name: firmware
72
+ path: artifacts
73
74
+ - name: Upload release assets
75
+ uses: softprops/action-gh-release@v2
76
77
+ files: |
78
+ artifacts/*.uf2
79
+ artifacts/*.hex
0 commit comments