forked from alexandru-slobodcicov/liquibase-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(create-release.yml): add integration-tests job as a dependency …
…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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,7 +106,7 @@ jobs: | |
path: | | ||
target/*.jar | ||
pom.xml | ||
integration-tests: | ||
name: Java ${{ matrix.java }} | ||
runs-on: ubuntu-latest | ||
|
@@ -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: | ||
|
@@ -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 |