From 8c5af678c467ca1be43021a47723c3de908ddb54 Mon Sep 17 00:00:00 2001 From: elit-cx <64141390+elit-cx@users.noreply.github.com> Date: Wed, 30 Dec 2020 15:23:48 +0200 Subject: [PATCH] Create publish.yml --- .github/workflows/publish.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..b8f3b1b --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,20 @@ +name: Publish kics GitHub Action + +# Run this workflow on Tags matching v* pattern and publish a new release +on: + push: + tags: + - 'v*' + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Create a Release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }}