actions: run build only on release

This commit is contained in:
Jens Langhammer 2019-12-31 13:44:27 +01:00
parent fa55ba5ef0
commit c3909f9196
1 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,7 @@ jobs:
needs:
- migrations
- coverage
if: github.event == 'release'
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
@ -150,6 +151,7 @@ jobs:
needs:
- migrations
- coverage
if: github.event == 'release'
runs-on: [ubuntu-latest]
services:
postgres:
@ -179,6 +181,7 @@ jobs:
needs:
- build-server
- build-static
if: github.event == 'release'
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v1