File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,8 @@ jobs:
201
201
- name : Publish to codecov
202
202
uses : codecov/codecov-action@v5
203
203
with :
204
+ fail_ci_if_error : true # we weren't posting previously
204
205
flags : ${{ runner.os }}
205
206
name : ${{ runner.os }}-coverage
207
+ token : ${{ secrets.CODECOV_TOKEN }}
206
208
files : ./build/coverage.xml
Original file line number Diff line number Diff line change @@ -155,13 +155,12 @@ function(myproject_package_project)
155
155
unset (_PackageProject_TARGETS )
156
156
157
157
# download ForwardArguments
158
- FetchContent_Declare (
158
+ FetchContent_Populate (
159
159
_fargs
160
160
URL https://github.com/polysquare/cmake-forward-arguments/archive/8c50d1f956172edb34e95efa52a2d5cb1f686ed2.zip )
161
+
161
162
FetchContent_GetProperties (_fargs )
162
- if (NOT _fargs_POPULATED )
163
- FetchContent_Populate (_fargs )
164
- endif ()
163
+
165
164
include ("${_fargs_SOURCE_DIR} /ForwardArguments.cmake" )
166
165
167
166
# prepare the forward arguments for ycm
@@ -177,11 +176,8 @@ function(myproject_package_project)
177
176
"${_multiValueArgs} ;DEPENDENCIES;PRIVATE_DEPENDENCIES" )
178
177
179
178
# download ycm
180
- FetchContent_Declare (_ycm URL https://github.com/robotology/ycm/archive/refs/tags/v0.13.0.zip )
179
+ FetchContent_Populate (_ycm URL https://github.com/robotology/ycm/archive/refs/tags/v0.13.0.zip )
181
180
FetchContent_GetProperties (_ycm )
182
- if (NOT _ycm_POPULATED )
183
- FetchContent_Populate (_ycm )
184
- endif ()
185
181
include ("${_ycm_SOURCE_DIR} /modules/InstallBasicPackageFiles.cmake" )
186
182
187
183
install_basic_package_files (${_PackageProject_NAME} "${_FARGS_LIST} " )
You can’t perform that action at this time.
0 commit comments