Skip to content

Commit 5a0365d

Browse files
committed
ci: upload binaries without mantainer mode
1 parent d3687db commit 5a0365d

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/ci.yml

+2-13
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ jobs:
7272
enable_clang_tidy: On
7373
enable_cppcheck: On
7474

75-
7675
# Set up preferred package generators, for given build configurations
7776
- build_type: Release
7877
package_maintainer_mode: OFF
@@ -89,7 +88,6 @@ jobs:
8988
enable_clang_tidy: On
9089
enable_cppcheck: On
9190

92-
9391
# Windows msvc builds
9492
- os: windows-2022
9593
compiler: msvc
@@ -100,7 +98,6 @@ jobs:
10098
enable_clang_tidy: Off
10199
enable_cppcheck: Off
102100

103-
104101
- os: windows-2022
105102
compiler: msvc
106103
generator: "Visual Studio 17 2022"
@@ -110,7 +107,6 @@ jobs:
110107
enable_clang_tidy: Off
111108
enable_cppcheck: Off
112109

113-
114110
- os: windows-2022
115111
compiler: msvc
116112
generator: "Visual Studio 17 2022"
@@ -119,7 +115,6 @@ jobs:
119115
enable_clang_tidy: Off
120116
enable_cppcheck: Off
121117

122-
123118
- os: windows-2022
124119
compiler: msvc
125120
generator: "Visual Studio 17 2022"
@@ -129,7 +124,6 @@ jobs:
129124
enable_clang_tidy: Off
130125
enable_cppcheck: Off
131126

132-
133127
- os: windows-2022
134128
compiler: msvc
135129
generator: "Visual Studio 17 2022"
@@ -140,8 +134,6 @@ jobs:
140134
enable_clang_tidy: Off
141135
enable_cppcheck: Off
142136

143-
144-
145137
steps:
146138
- name: Check for llvm version mismatches
147139
if: ${{ contains(matrix.compiler, 'llvm') && !contains(matrix.compiler, env.CLANG_TIDY_VERSION) }}
@@ -172,7 +164,6 @@ jobs:
172164
ccache: true
173165
clangtidy: ${{ env.CLANG_TIDY_VERSION }}
174166

175-
176167
cppcheck: true
177168

178169
gcovr: true
@@ -210,21 +201,19 @@ jobs:
210201
211202
- name: Publish Snapshot Release
212203
uses: softprops/action-gh-release@v1
213-
if: ${{ (github.ref == 'refs/heads/main') && matrix.package_generator != '' }}
204+
if: ${{ (github.ref == 'refs/heads/main') && matrix.package_maintainer_mode != 'ON' && matrix.package_generator != '' }}
214205
with:
215206
tag_name: "snapshot-${{ github.sha }}"
216207
files: |
217208
build/*-*${{ matrix.build_type }}*-*.*
218209
219-
220210
- name: Publish Tagged Release
221211
uses: softprops/action-gh-release@v1
222-
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.package_generator != '' }}
212+
if: ${{ (github.ref == 'refs/heads/main') && matrix.package_maintainer_mode != 'ON' && matrix.package_generator != '' }}
223213
with:
224214
files: |
225215
build/*-*${{ matrix.build_type }}*-*.*
226216
227-
228217
- name: Publish to codecov
229218
uses: codecov/codecov-action@v2
230219
with:

0 commit comments

Comments
 (0)