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 33 pull_request :
44 push :
55 tags :
6- - v*
7- - snapshot*
86 branches :
97 - main
108
@@ -184,7 +182,15 @@ jobs:
184182 run : |
185183 cpack -C ${{matrix.build_type}} -G ${{matrix.package_generator}}
186184
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
188194 uses : softprops/action-gh-release@v1
189195 if : ${{ startsWith(github.ref, 'refs/tags/') && matrix.package_generator != '' }}
190196 with :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments