ci: fix workflow file
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user