update ci

This commit is contained in:
poma 2020-07-31 07:30:58 +03:00
parent a0007837dd
commit db8328d8ab
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ on:
pull_request:
push:
branches: [ '*' ]
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
jobs:
test:
@ -31,7 +32,7 @@ jobs:
publish:
runs-on: ubuntu-latest
needs: [test, lint]
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v2