1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 13:41:13 +02:00

Update CPM.cmake and cache dependencies in workflows (#70)

* update CPM.cmake to 0.28.0

* cache CPM.cmake dependencies

* create modules directory if it doesn't exist on windows

* experiment with env variable

* experiment 2

* experiment 3

* use env for all workflows

* make cache keys OS dependent

* replace env.GITHUB_ with github.workspace

* format workflow files

* update cache key

* use unique key for each workflow
This commit is contained in:
Lars Melchior 2021-01-20 19:00:20 +01:00 committed by GitHub
parent 8dc50e5294
commit 8ba41ae49c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 123 additions and 80 deletions

View file

@ -1,4 +1,4 @@
set(CPM_DOWNLOAD_VERSION 0.27.2)
set(CPM_DOWNLOAD_VERSION 0.28.0)
if(CPM_SOURCE_CACHE)
set(CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake")