auto create release on tag push (tags needs to start with "v")

This commit is contained in:
freepdk 2022-04-13 13:00:56 +02:00
parent 06af5858eb
commit 965e44ab2e

View File

@ -2,9 +2,8 @@ name: 'build'
on:
push:
branches:
- '*'
- 'feature/**'
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:
@ -29,7 +28,6 @@ jobs:
run: bash ./.github/auto_build.sh
- name: 'release assets'
if: startsWith( github.ref, 'refs/tags/releases/')
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}