add needs between ci steps

This commit is contained in:
ryan 2020-12-31 20:30:15 +13:00
parent fd16c171e2
commit f8f64a7a56

View file

@ -12,7 +12,6 @@ env:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
@ -116,7 +115,7 @@ jobs:
test:
runs-on: ${{ matrix.os }}
needs: build
strategy:
fail-fast: false
matrix:
@ -149,6 +148,7 @@ jobs:
release:
name: Upload firmware artifacts to release
runs-on: ubuntu-latest
needs: build
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
steps: