Skip to content

Commit

Permalink
chore(create-release.yml): add integration-tests job as a dependency …
Browse files Browse the repository at this point in the history
…for draft-release and release-rollback jobs to ensure integration tests are run before creating a release or rolling back a release
  • Loading branch information
jandroav committed Jun 28, 2023
1 parent d81f9d3 commit b09cd4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
path: |
target/*.jar
pom.xml
integration-tests:
name: Java ${{ matrix.java }}
runs-on: ubuntu-latest
Expand All @@ -132,7 +132,7 @@ jobs:
run: mvn clean verify -Prun-its --file pom.xml

draft-release:
needs: [ setup, build, release-prepare ]
needs: [ setup, build, integration-tests, release-prepare ]
name: Draft Release
runs-on: ubuntu-latest
steps:
Expand All @@ -156,7 +156,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release-rollback:
needs: [ setup, release-prepare, build, draft-release ]
needs: [ setup, release-prepare, build, integration-tests, draft-release ]
if: ${{ failure() }}
uses: liquibase/build-logic/.github/workflows/[email protected]
secrets: inherit

0 comments on commit b09cd4a

Please sign in to comment.