Skip to content

Commit

Permalink
ci: re-order jobs dependencies to improve speed
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospereira committed Jan 9, 2024
1 parent 2a3ef7a commit f1c212d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
needs:
- test
- compile
steps:
- uses: actions/checkout@v4
- name: Set up Gradle and Java
Expand Down Expand Up @@ -137,14 +137,15 @@ jobs:
name: Check if prod
runs-on: ubuntu-latest
needs:
- test
- compile
steps:
- run: echo "This is a push to main branch. Following with release and deploy"

create-release:
name: Creates a GitHub Release
runs-on: ubuntu-latest
needs:
- test
- check-if-prod
- build-docker
# Docs:
Expand Down

0 comments on commit f1c212d

Please sign in to comment.