File tree Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Original file line number Diff line number Diff line change 3
3
pull_request :
4
4
push :
5
5
tags :
6
- - v*
7
- - snapshot*
8
6
branches :
9
7
- main
10
8
@@ -184,7 +182,15 @@ jobs:
184
182
run : |
185
183
cpack -C ${{matrix.build_type}} -G ${{matrix.package_generator}}
186
184
187
- - name : Publish Release
185
+ - name : Publish Snapshot Release
186
+ uses : softprops/action-gh-release@v1
187
+ if : ${{ (github.ref == 'refs/heads/main/') && matrix.package_generator != '' }}
188
+ with :
189
+ tag_name : " snapshot-${{ github.sha }}"
190
+ files : |
191
+ build/*-*${{ matrix.build_type }}*-*.*
192
+
193
+ - name : Publish Tagged Release
188
194
uses : softprops/action-gh-release@v1
189
195
if : ${{ startsWith(github.ref, 'refs/tags/') && matrix.package_generator != '' }}
190
196
with :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments