ci: unset --release for PR
This commit is contained in:
parent
e83e18b13e
commit
be24036a1b
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/heads/master' }}
|
||||
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
run: coverage run -a ./update.py --release
|
||||
- name: Update
|
||||
if: ${{ github.ref != 'refs/heads/master' }}
|
||||
if: ${{ !(github.ref == 'refs/heads/master' && github.event_name != 'pull_request') }}
|
||||
run: coverage run -a ./update.py
|
||||
- name: Report coverage
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user