actions: run build only on release
This commit is contained in:
parent
fa55ba5ef0
commit
c3909f9196
|
@ -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
|
||||
|
|
Reference in New Issue