diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..af95a69 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +name: Deploy + +on: + push: + tags: + - 'v*.*.*' + +jobs: + build: + name: Create tagged release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Package project + id: create_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 }} + body: | + For changes, check the commit log. + draft: false + prerelease: false \ No newline at end of file