ci: fix workflow file

This commit is contained in:
NateScarlet 2020-11-24 21:28:12 +08:00
parent ba78108d0a
commit e83e18b13e
No known key found for this signature in database
GPG Key ID: 5C242793B070309C

View File

@ -20,12 +20,12 @@ jobs:
- name: Test
run: coverage run -m pytest
- name: Update(master)
if: ${{ github.ref == "refs/head/master" }}
if: ${{ github.ref == 'refs/heads/master' }}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: coverage run -a ./update.py --release
- name: Update
if: ${{ github.ref != "refs/head/master" }}
if: ${{ github.ref != 'refs/heads/master' }}
run: coverage run -a ./update.py
- name: Report coverage
env: