actions: fix build not running correctly

This commit is contained in:
Jens Langhammer 2019-12-31 14:01:58 +01:00
parent d77afd1ded
commit ff69b4affe

View file

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