forked from qt-creator/qt-creator
GitHub: Fix ccache archive downloading if there is none
Change-Id: I54fcac1a86c6f101469a695aa3610ae755354271 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
2
.github/workflows/build_cmake.yml
vendored
2
.github/workflows/build_cmake.yml
vendored
@@ -458,6 +458,7 @@ jobs:
|
||||
|
||||
string(JSON artifacts_length LENGTH "${artifacts_json}" "artifacts")
|
||||
math(EXPR artifacts_length "${artifacts_length} - 1")
|
||||
if(${artifacts_length} GREATER_EQUAL 0)
|
||||
foreach(idx RANGE 0 ${artifacts_length})
|
||||
string(JSON artifact_js GET "${artifacts_json}" "artifacts" ${idx})
|
||||
string(JSON name GET "${artifact_js}" "name")
|
||||
@@ -483,6 +484,7 @@ jobs:
|
||||
return()
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
- name: Build
|
||||
|
Reference in New Issue
Block a user