Skip to content

Commit

Permalink
ci: add runner to async api deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-acampora authored Feb 9, 2023
1 parent 127f392 commit dd5b42c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ on:
pull_request:

jobs:

validation:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Validate the Gradle Wrapper
uses: gradle/wrapper-validation-action@v1.0.5

build:
needs:
- validation
Expand All @@ -44,6 +46,7 @@ jobs:
uses: codecov/codecov-action@v3.1.1
with:
directory: "build/reports/jacoco"

release:
concurrency:
# Allow only one release at a time.
Expand Down Expand Up @@ -78,6 +81,7 @@ jobs:
run: |
npm install
npx semantic-release
docker-image-delivery:
needs:
- release
Expand Down Expand Up @@ -135,6 +139,7 @@ jobs:
async-api-deploy:
needs:
- release
runs-on: ubuntu-latest
if: needs.release.outputs.release-status == 'released'
steps:
- name: Checkout the repository
Expand Down

0 comments on commit dd5b42c

Please # to comment.