Skip to content

Commit 3a81a8d

Browse files
committed
add release step on tags
1 parent ee712b1 commit 3a81a8d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
workflow_dispatch:
55
push:
66
branches: [ main ]
7+
tags:
8+
- "v*.*.*"
79
pull_request:
810
branches: [ main ]
911

@@ -20,3 +22,10 @@ jobs:
2022
with:
2123
yaml-file: example-instance.yaml
2224
version: stable
25+
- name: Upload files to release
26+
uses: softprops/[email protected]
27+
if: github.ref_type == 'tag'
28+
with:
29+
files: |
30+
*/*.ota.bin
31+
*/*.factory.bin

0 commit comments

Comments
 (0)