-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from liquibase/test-workflow
renaming to parent pom
- Loading branch information
Showing
11 changed files
with
24 additions
and
133 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
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
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
|
||
jobs: | ||
nightly-build: | ||
uses: liquibase/build-logic/.github/workflows/[email protected].1 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].2 | ||
with: | ||
nightly: true | ||
secrets: inherit |
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 |
---|---|---|
|
@@ -7,5 +7,5 @@ on: | |
|
||
jobs: | ||
create-release: | ||
uses: liquibase/build-logic/.github/workflows/[email protected].1 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].2 | ||
secrets: inherit |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Release Super POM to GitHub Packages | ||
name: Release Parent POM to GitHub Packages | ||
|
||
on: | ||
workflow_dispatch: | ||
|
@@ -11,49 +11,5 @@ permissions: | |
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: 'maven' | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "liquibot" | ||
git config user.email "[email protected]" | ||
- name: Build release artifacts | ||
id: build-release-artifacts | ||
run: | | ||
mvn -B release:clean release:prepare -Dusername=liquibot -Dpassword=$GITHUB_TOKEN -Darguments="-Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" -DpushChanges=false | ||
git reset HEAD~ --hard | ||
- name: Get Artifact ID | ||
id: get-artifact-id | ||
run: echo "artifact_id=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)" >> $GITHUB_ENV | ||
|
||
- name: Download Release Artifacts | ||
uses: robinraju/[email protected] | ||
with: | ||
tag: "${{ github.event.release.tag_name }}" | ||
filename: "${{ env.artifact_id }}-*" | ||
out-file-path: "." | ||
|
||
- name: Publish to GitHub Packages | ||
run: | | ||
version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) | ||
mvn deploy:deploy-file -Dusername=liquibot -Dpassword=$GITHUB_TOKEN -DpomFile=${{ env.artifact_id }}-${version}.pom -Dfile=${{ env.artifact_id }}-${version}.pom -DrepositoryId=github -Durl=https://maven.pkg.github.com/liquibase/liquibase-super-pom | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
maven-release: | ||
needs: release | ||
uses: liquibase/build-logic/.github/workflows/[email protected] | ||
uses: liquibase/build-logic/.github/workflows/[email protected] | ||
secrets: inherit |
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 |
---|---|---|
|
@@ -10,5 +10,5 @@ on: | |
|
||
jobs: | ||
security-scan: | ||
uses: liquibase/build-logic/.github/workflows/[email protected].1 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].2 | ||
secrets: inherit |
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 |
---|---|---|
|
@@ -10,5 +10,5 @@ on: | |
|
||
jobs: | ||
build-test: | ||
uses: liquibase/build-logic/.github/workflows/[email protected].1 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].2 | ||
secrets: inherit |
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
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
2 changes: 1 addition & 1 deletion
2
...java/org/liquibase/superpom/Superpom.java → ...va/org/liquibase/parentpom/ParentPom.java
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.liquibase.superpom; | ||
public interface Superpom { | ||
public interface ParentPom { | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...java/org/liquibase/superpom/Superpom.java → ...rg/liquibase/parentpom/ParentPomTest.java
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