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

View File

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