Compare commits

...

1 Commits

Author SHA1 Message Date
Lars Melchior
91ca848fec add github action to publish cpm on release 2020-03-16 20:15:34 +01:00

20
.github/workflows/publish.yaml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Publish
on:
push:
tags:
- '*'
jobs:
build:
name: Publish CPM.cmake
runs-on: ubuntu-latest
steps:
- name: Upload CPM.cmake to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: cmake/CPM.cmake
asset_name: CPM.cmake
tag: ${{ github.ref }}
overwrite: true