fix: fix auto-tag

This commit is contained in:
Jguer 2020-01-12 16:28:45 +01:00
parent 70aa7b4689
commit 03c5e3fb94
No known key found for this signature in database
GPG key ID: 6D6CC9BEA8556B35

View file

@ -23,6 +23,7 @@ jobs:
name: yay_release name: yay_release
path: artifacts path: artifacts
tag: tag:
if: contains(github.ref, 'master')
name: Tag release name: Tag release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -31,4 +32,3 @@ jobs:
uses: mathieudutour/github-tag-action@v3 uses: mathieudutour/github-tag-action@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
if: github.ref == 'master' && github.event_name == 'push'