Ensure release steps are dependent on build
@@ -68,6 +68,7 @@ jobs:
linux:
name: Release Linux Native CLI
runs-on: ubuntu-latest
+ needs: [build]
steps:
- name: Checkout the repository
uses: actions/checkout@v2.3.1
@@ -113,6 +114,7 @@ jobs:
macos:
name: Release OS X Native CLI
runs-on: macOS-latest
+ needs: [build]
steps:
- name: Checkout the repository
uses: actions/checkout@v2.3.1
@@ -158,6 +160,7 @@ jobs:
windows:
name: Release Windows Native CLI
runs-on: windows-latest
+ needs: [build]
steps:
- uses: actions/checkout@v2.3.1
- name: Download GraalVM
@@ -228,6 +231,7 @@ jobs:
gcr:
name: Deploy to Cloud Run
runs-on: ubuntu-latest
+ needs: [build]
steps:
- name: Checkout the repository
uses: actions/checkout@v2.3.1
@@ -262,6 +266,7 @@ jobs:
analytics:
name: Release Analytics Job
runs-on: ubuntu-latest
+ needs: [build]
steps:
- name: Checkout the repository
uses: actions/checkout@v2.3.1
@@ -290,7 +295,7 @@ jobs:
homebrew:
name: Update Homebrew cask
- needs: macos
+ needs: [build, macos]
runs-on: ubuntu-latest
steps:
- name: Checkout https://github.com/micronaut-projects/homebrew-tap
@@ -323,7 +328,7 @@ jobs:
chocolatey:
name: Bump Chocolatey package
runs-on: windows-latest
- needs: windows
+ needs: [build, windows]
steps:
- uses: actions/checkout@v2.3.1
with:
