From 3bbc810114cc821d2b987dbe3dce93811692de38 Mon Sep 17 00:00:00 2001 From: Romeo Date: Fri, 28 Feb 2020 17:22:38 +0100 Subject: [PATCH] Release on tag --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..4f6b4b35 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,24 @@ +name: Create Release +on: + push: + tags: + # Push events to matching v*, i.e. v1.0, v20.15.10 + - 'v*' + +jobs: + build: + name: Create Release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@master + - name: Create Release + id: create_release + uses: actions/create-release@latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false