Add GitHub action to publish CPM on release (#102)

* add github action to publish cpm on release

* add checkout step

* update readme
This commit is contained in:
Lars Melchior
2020-03-16 20:37:30 +01:00
committed by GitHub
parent 95c5426d25
commit 90558aa9cb
2 changed files with 22 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ To add CPM to your current project, simply add `cmake/CPM.cmake` to your project
```bash
mkdir -p cmake
wget -O cmake/CPM.cmake https://raw.githubusercontent.com/TheLartians/CPM.cmake/master/cmake/CPM.cmake
wget -O cmake/CPM.cmake https://github.com/TheLartians/CPM.cmake/releases/latest/download/CPM.cmake
```
You can also use CMake to download CPM for you. See the [wiki](https://github.com/TheLartians/CPM/wiki/Adding-CPM) for more details.