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