From: Eduardo San Martin Morote Date: Mon, 20 Apr 2020 09:45:18 +0000 (+0200) Subject: ci: build release tags X-Git-Tag: v4.0.0-alpha.8~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9ec3d34e1a07371e1b1631ad4e6e1b5834283bd;p=thirdparty%2Fvuejs%2Frouter.git ci: build release tags --- diff --git a/.github/workflows/github-releases.yml b/.github/workflows/github-releases.yml new file mode 100644 index 00000000..d782e04c --- /dev/null +++ b/.github/workflows/github-releases.yml @@ -0,0 +1,24 @@ +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v4.0.0-alpha.*' + +name: Create Github Release + +jobs: + build: + name: Create Github Release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@master + - name: Create Release + 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: ${{ github.ref }} + prerelease: true