Only trigger GH Release on stable branch

This commit is contained in:
txtsd 2022-02-15 14:38:26 +05:30
parent 8596753a63
commit e24a183dad
No known key found for this signature in database
GPG Key ID: 000F85679D4B6B53

View File

@ -18,7 +18,7 @@ jobs:
build_type: Release
create_release:
if: startsWith(github.ref, 'refs/tags/')
if: contains(github.base_ref, 'refs/heads/stable') && startsWith(github.ref, 'refs/tags/')
needs: build_release
runs-on: ubuntu-latest
outputs: