Compare commits

...

2 Commits

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

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

@ -0,0 +1,21 @@
name: Publish
on:
push:
tags:
- '*'
jobs:
build:
name: Publish CPM.cmake
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- 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