Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAT-18141 changes for liquibase-checks extension #229

Merged
merged 73 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
b9708ef
remove custom liquibase checks build. Add ability to build on multip…
jnewton03 Jul 24, 2024
fd05a80
fix formatting
jnewton03 Jul 24, 2024
cb3382a
use same os input for build and test jobs
jnewton03 Jul 24, 2024
a98a7d5
use same os input for build and test jobs
jnewton03 Jul 24, 2024
1f969b8
fix typo
jnewton03 Jul 24, 2024
9f48be7
🔧 (.github/workflows/pro-extension-test.yml): Add Docker installation…
Jul 25, 2024
99df72f
🔧 (pro-extension-test.yml): add support for 'combineJars' boolean inp…
Jul 25, 2024
f7c50a9
🔧 (pro-extension-test.yml): remove unnecessary Docker installation st…
Jul 25, 2024
257e2c2
🔧 (.github/workflows/pro-extension-test.yml): Fix conditional stateme…
Jul 25, 2024
f52a653
🔧 (.github/workflows/pro-extension-test.yml): Add new input 'modulePa…
Jul 25, 2024
40ef28a
🔧 (.github/workflows/pro-extension-test.yml): fix quotes around input…
Jul 25, 2024
0a4c8dd
🔧 (pro-extension-test.yml): remove unnecessary 'unit-test' job depend…
Jul 25, 2024
4ae6c98
✨ (pro-extension-test.yml): refactor workflow to dynamically get and …
Jul 25, 2024
064b627
📝 (pro-extension-test.yml): capitalize the first letter of the job na…
Jul 25, 2024
17525bd
🐛 (.github/workflows/pro-extension-test.yml): fix syntax error in mav…
Jul 25, 2024
b6d794d
🔧 (.github/workflows/pro-extension-test.yml): update ls command to li…
Jul 25, 2024
2f2139e
📝 (pro-extension-test.yml): rename step to get artifact version and u…
Jul 25, 2024
3d9ad39
🔧 (pro-extension-test.yml): remove duplicate step to get artifacts ve…
Jul 25, 2024
cc3680e
🐛 (.github/workflows/pro-extension-test.yml): fix typo in output vari…
Jul 25, 2024
0670835
🔧 (pro-extension-test.yml): remove redundant working-directory declar…
Jul 25, 2024
5e71812
🔧 (pro-extension-test.yml): remove unnecessary jar creation and copyi…
Jul 25, 2024
0adb67c
🔧 (pro-extension-test.yml): fix incorrect flag usage in 'rm' command …
Jul 25, 2024
df7fc4b
🐛 (.github/workflows/pro-extension-test.yml): fix incorrect paths for…
Jul 25, 2024
04c744d
🔧 (.github/workflows/pro-extension-test.yml): Change directory paths …
Jul 25, 2024
0072b28
🔧 (.github/workflows/pro-extension-test.yml): add debug commands to l…
Jul 25, 2024
183b431
🔧 (.github/workflows/extension-attach-artifact-release.yml): add comb…
Jul 25, 2024
2e141fc
🔧 (.github/workflows/pro-extension-test.yml): remove unused modulePat…
Jul 25, 2024
821c1e9
📝 (.github/workflows/extension-attach-artifact-release.yml): add new …
Jul 25, 2024
2bae183
🔧 (extension-attach-artifact-release.yml): Update file to use 'macos'…
Jul 25, 2024
2196199
🔧 (.github/workflows/extension-attach-artifact-release.yml): configur…
Jul 25, 2024
323daae
🐛 (extension-attach-artifact-release.yml): update artifact path to in…
Jul 25, 2024
4f71177
🔧 (extension-attach-artifact-release.yml): Fix artifact naming issue …
Jul 25, 2024
cd543fa
⬆️ (pro-extension-test.yml): upgrade sonar-pull-request.yml workflow …
Jul 25, 2024
e8b693d
🔧 (extension-attach-artifact-release.yml): Refactor artifact creation…
Jul 25, 2024
741f34e
✨ (extension-attach-artifact-release.yml): add dependency on combineJ…
Jul 25, 2024
b0ba15a
🔧 (extension-attach-artifact-release.yml): change working directory t…
Jul 25, 2024
e0290df
🐛 (extension-attach-artifact-release.yml): fix issue with release bui…
Jul 25, 2024
608a59b
🐛 (.github/workflows/pro-extension-test.yml): fix file paths for macO…
Jul 25, 2024
49bc040
🐛 (extension-attach-artifact-release.yml): fix issue with Maven comma…
Jul 25, 2024
326978b
🔧 (.github/workflows/extension-attach-artifact-release.yml): update a…
Jul 25, 2024
87d3af0
🔧 (extension-attach-artifact-release.yml): change 'mac' directory to …
Jul 25, 2024
1568315
⬆️ (extension-attach-artifact-release.yml): Upgrade setup-maven actio…
Jul 25, 2024
307fc97
🚀 (extension-attach-artifact-release.yml): reorganize zip command to …
Jul 25, 2024
f3e41ec
📝 (extension-attach-artifact-release.yml): simplify artifact path con…
Jul 25, 2024
85a7305
🔧 (pro-extension-test.yml): Update artifact copying logic to include …
Jul 25, 2024
19b723e
📝 (extension-attach-artifact-release.yml): update artifact path to in…
Jul 25, 2024
01caf8d
📝 (pro-extension-test.yml): update artifact path to include sources, …
Jul 25, 2024
2a79384
🔧 (extension-release-published.yml): comment out the build release ar…
Jul 25, 2024
0941686
🔧 (extension-release-prepare.yml): Add support for specifying the pat…
Jul 25, 2024
ff80040
🔧 (extension-release-published.yml): update build-release-artifacts j…
Jul 25, 2024
c6c4248
🔧 (.github/workflows/create-release.yml): Update the version of sonar…
Jul 25, 2024
cf6ba2f
🔧 (extension-attach-artifact-release.yml): Update artifact path to in…
Jul 25, 2024
e615c7d
🔧 (extension-attach-artifact-release.yml): Update path to include all…
Jul 25, 2024
23f6f99
🔧 (extension-attach-artifact-release.yml): Update artifact path to in…
Jul 25, 2024
85deec7
🐛 (extension-attach-artifact-release.yml): Remove duplicate file path…
Jul 25, 2024
949ca4d
🔧 (extension-attach-artifact-release.yml): remove unnecessary conditi…
Jul 25, 2024
f6cbc90
🔧 (extension-attach-artifact-release.yml): set working directory to t…
Jul 25, 2024
52d7086
🔧 (extension-attach-artifact-release.yml): Update file paths for arti…
Jul 25, 2024
7ed4bd5
✨ (pro-extension-test.yml): add dependency on unit-test job for combi…
Jul 25, 2024
7dec218
🔧 (extension-attach-artifact-release.yml): update mvn command to incl…
Jul 25, 2024
97d7f58
🔧 (extension-attach-artifact-release.yml): comment out artifact downl…
Jul 25, 2024
5ae704b
🔧 (extension-attach-artifact-release.yml): Update workflow to check a…
Jul 25, 2024
1343acc
🔧 (extension-attach-artifact-release.yml): set working directory to t…
Jul 25, 2024
b8baf5f
🔧 (extension-attach-artifact-release.yml): set root directory variabl…
Jul 25, 2024
5a592ba
🔧 (extension-release-prepare.yml): Add working directory configuratio…
Jul 25, 2024
49c38f0
🔧 (extension-attach-artifact-release.yml): fix path to sign artifacts…
Jul 25, 2024
860817c
🔧 (extension-attach-artifact-release.yml): update path for artifact d…
Jul 25, 2024
93cef51
🔧 (extension-attach-artifact-release.yml): set working directory to t…
Jul 25, 2024
7883ed7
🔧 (extension-attach-artifact-release.yml): update artifact paths to i…
Jul 25, 2024
02ab208
🔧 (extension-release-published.yml): use the provided input variable …
Jul 26, 2024
0ed33c5
Merge branch 'main' into DAT-18141
jandroav Jul 26, 2024
7f5110c
Merge branch 'main' into DAT-18141
jandroav Aug 9, 2024
3cd9ccd
⬆️ (create-release.yml): Update sonar-push.yml reference to use the '…
Aug 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
8 changes: 7 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ on:
required: false
default: ''
type: string
artifactPath:
description: "Specify the path to the artifacts that should be attached to the build. Useful for multi-module extensions."
required: false
default: "."
type: string

jobs:
sonar:
uses: liquibase/build-logic/.github/workflows/sonar-push.yml@v0.7.8
uses: liquibase/build-logic/.github/workflows/sonar-push.yml@main
secrets: inherit
with:
extraCommand: ${{ inputs.extraCommand }}
artifactPath: ${{ inputs.artifactPath }}

create-release:
name: Create Release
Expand Down
225 changes: 218 additions & 7 deletions .github/workflows/extension-attach-artifact-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,26 @@ on:
required: false
default: ""
type: string
os:
description: "Operating system to build/test on"
required: false
default: '["ubuntu-latest", "windows-latest"]'
type: string
extraMavenArgs:
description: "Specify it if you want to run an extra maven argument"
required: false
default: ""
type: string
artifactPath:
description: "Specify the path to the artifacts that should be attached to the build. Useful for multi-module extensions."
required: false
default: "."
type: string
combineJars:
description: 'Specify it if you want to combine jars into one'
required: false
default: false
type: boolean
secrets:
BOT_TOKEN:
description: 'BOT_TOKEN from the caller workflow'
Expand All @@ -30,8 +50,184 @@ on:
required: true

jobs:

build-multi-architecture:
strategy:
fail-fast: false
matrix:
os: ${{fromJson(inputs.os || '["ubuntu-latest"]')}}
name: Build & Package - ${{ matrix.os }}
if: ${{ inputs.combineJars }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: "temurin"
cache: "maven"

- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: ${{ env.MAVEN_VERSION }}

# look for dependencies in maven
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v22
with:
repositories: |
[
{
"id": "liquibase",
"url": "https://maven.pkg.github.com/liquibase/liquibase",
"releases": {
"enabled": "true"
},
"snapshots": {
"enabled": "true",
"updatePolicy": "always"
}
},
{
"id": "liquibase-pro",
"url": "https://maven.pkg.github.com/liquibase/liquibase-pro",
"releases": {
"enabled": "true"
},
"snapshots": {
"enabled": "true",
"updatePolicy": "always"
}
}
]
servers: |
[
{
"id": "liquibase-pro",
"username": "liquibot",
"password": "${{ secrets.LIQUIBOT_PAT }}"
},
{
"id": "liquibase",
"username": "liquibot",
"password": "${{ secrets.LIQUIBOT_PAT }}"
}
]

- name: Configure Git
run: |
git config user.name "liquibot"
git config user.email "[email protected]"

- name: Run extra command
if: inputs.extraCommand != ''
run: |
${{ inputs.extraCommand }}

- name: Run extra Linux command
if: inputs.extraLinuxCommand != ''
run: |
${{ inputs.extraLinuxCommand }}

- name: Build and Package
working-directory: ${{ inputs.artifactPath }}
run: |
mvn -B release:clean release:prepare -Darguments="-Dusername=liquibot -Dpassword=$GITHUB_TOKEN -Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" -DcheckModificationExcludeList=** -DignoreSnapshots=true -DreleaseVersion=${{ github.event.inputs.liquibaseVersion }} -DpushChanges=false -P '${{ inputs.mavenProfiles }}'
git reset HEAD~ --hard
mvn -B dependency:go-offline clean package -DskipTests=true ${{ inputs.extraMavenArgs }}

- name: Get Artifact ID
working-directory: ${{ inputs.artifactPath }}
id: get-artifact-id
run: echo "::set-output name=artifact_id::$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)"

- name: Get Artifact Version
working-directory: ${{ inputs.artifactPath }}
id: get-artifact-version
run: echo "::set-output name=artifact_version::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"

- name: Save Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ steps.get-artifact-id.outputs.artifact_id }}-${{ matrix.os }}-${{ steps.get-artifact-version.outputs.artifact_version }}-artifacts
path: |
${{ inputs.artifactPath }}/target/*

- name: Save Event File
uses: actions/upload-artifact@v3
with:
name: Event File
path: ${{ github.event_path }}
outputs:
artifact_id: ${{ steps.get-artifact-id.outputs.artifact_id }}
artifact_version: ${{ steps.get-artifact-version.outputs.artifact_version }}

combineJars:
needs: [ build-multi-architecture ]
if: ${{ inputs.combineJars }}
name: Combine Jars
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- name: Download Ubuntu Artifacts
uses: actions/download-artifact@v2
with:
name: ${{needs.build-multi-architecture.outputs.artifact_id}}-ubuntu-latest-${{needs.build-multi-architecture.outputs.artifact_version}}-artifacts
path: /tmp/ubuntu

- name: Download macOS Artifacts
uses: actions/download-artifact@v2
with:
name: ${{needs.build-multi-architecture.outputs.artifact_id}}-macos-latest-${{needs.build-multi-architecture.outputs.artifact_version}}-artifacts
path: /tmp/macos

- name: Download Windows Artifacts
uses: actions/download-artifact@v2
with:
name: ${{needs.build-multi-architecture.outputs.artifact_id}}-windows-latest-${{needs.build-multi-architecture.outputs.artifact_version}}-artifacts
path: /tmp/windows

- name: Create multiplatform jar
run: |
rm -rf /tmp/combined/ubuntu /tmp/combined/windows /tmp/combined/macos
mkdir -p /tmp/combined/ubuntu /tmp/combined/windows /tmp/combined/macos
unzip -d /tmp/combined/ubuntu /tmp/ubuntu/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}.jar
unzip -d /tmp/combined/windows /tmp/windows/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}.jar
unzip -d /tmp/combined/macos /tmp/macos/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}.jar
rm -r -f /tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}
mkdir /tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}
cp -a /tmp/combined/ubuntu/* /tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}/
cp -a /tmp/combined/windows/* /tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}/
cp -a /tmp/combined/macos/* /tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}/
rm /tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}/vfs/fileslist.txt
cat /tmp/combined/ubuntu/vfs/fileslist.txt /tmp/combined/windows/vfs/fileslist.txt /tmp/combined/macos/vfs/fileslist.txt > /tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}/vfs/fileslist.txt
rm -f /tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}.jar
cd /tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}/
zip -r ../${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}.jar *
cd ..
cp /tmp/ubuntu/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}-sources.jar /tmp/combined/
cp /tmp/ubuntu/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}-javadoc.jar /tmp/combined/
cp /tmp/ubuntu/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}.pom /tmp/combined/


- name: Upload multiplatform artifact
uses: actions/upload-artifact@v3
with:
name: multiplatform-artifacts
path: |
/tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}.jar
/tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}-sources.jar
/tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}-javadoc.jar
/tmp/combined/${{needs.build-multi-architecture.outputs.artifact_id}}-${{needs.build-multi-architecture.outputs.artifact_version}}.pom

attach-to-release:
name: Attach Artifact to Release
needs: [ combineJars ]
runs-on: ubuntu-latest
steps:
- run: sleep 30
Expand All @@ -46,7 +242,7 @@ jobs:

# look for dependencies in maven
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v21
uses: whelk-io/maven-settings-xml-action@v22
with:
repositories: |
[
Expand Down Expand Up @@ -102,6 +298,7 @@ jobs:
git config user.email "[email protected]"

- name: Get Artifact ID
working-directory: ${{ inputs.artifactPath }}
id: get-artifact-id
run: echo "artifact_id=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)" >> $GITHUB_ENV

Expand Down Expand Up @@ -134,13 +331,21 @@ jobs:
fi

- name: Build release artifacts
working-directory: ${{ inputs.artifactPath }}
if: env.ARTIFACT_FOUND == '0'
id: build-release-artifacts
run: |
mvn -B release:clean release:prepare -Darguments="-Dusername=liquibot -Dpassword=$GITHUB_TOKEN -Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" -DreleaseVersion=${{ github.event.inputs.liquibaseVersion }} -DpushChanges=false -P '${{ inputs.mavenProfiles }}'
mvn -B release:clean release:prepare -Darguments="-Dusername=liquibot -Dpassword=$GITHUB_TOKEN -Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" -DcheckModificationExcludeList=** -DignoreSnapshots=true -DreleaseVersion=${{ github.event.inputs.liquibaseVersion }} -DpushChanges=false -P '${{ inputs.mavenProfiles }}'
git reset HEAD~ --hard
mvn clean install -DskipTests -P '${{ inputs.mavenProfiles }}'

- name: Download multiarchitecture release artifacts
if: inputs.combineJars
uses: actions/download-artifact@v2
with:
name: multiplatform-artifacts
path: ${{ inputs.artifactPath }}/target

- name: Get latest draft release ID
id: get-release
run: |
Expand Down Expand Up @@ -176,16 +381,21 @@ jobs:
gpg_private_key: ${{ secrets.GPG_SECRET }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}

- name: Set root directory variable
run: echo "REPO_ROOT=$(git rev-parse --show-toplevel)" >> $GITHUB_ENV

- name: Sign Files for Draft Release
working-directory: ${{ inputs.artifactPath }}
run: |
gpg -K
version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
./.github/sign_artifact.sh ./target/${{ env.artifact_id }}-${version}.jar
./.github/sign_artifact.sh ./target/${{ env.artifact_id }}-${version}.pom
./.github/sign_artifact.sh ./target/${{ env.artifact_id }}-${version}-javadoc.jar
./.github/sign_artifact.sh ./target/${{ env.artifact_id }}-${version}-sources.jar
${{ env.REPO_ROOT }}/.github/sign_artifact.sh ${{ env.REPO_ROOT }}/${{ inputs.artifactPath }}/target/${{ env.artifact_id }}-${version}.jar
${{ env.REPO_ROOT }}/.github/sign_artifact.sh ${{ env.REPO_ROOT }}/${{ inputs.artifactPath }}/target/${{ env.artifact_id }}-${version}.pom
${{ env.REPO_ROOT }}/.github/sign_artifact.sh ${{ env.REPO_ROOT }}/${{ inputs.artifactPath }}/target/${{ env.artifact_id }}-${version}-javadoc.jar
${{ env.REPO_ROOT }}/.github/sign_artifact.sh ${{ env.REPO_ROOT }}/${{ inputs.artifactPath }}/target/${{ env.artifact_id }}-${version}-sources.jar

- name: Set draft release title
working-directory: ${{ inputs.artifactPath }}
id: set-release-title
run: |
version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
Expand All @@ -194,8 +404,9 @@ jobs:
curl -X PATCH -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: Bearer ${{ secrets.BOT_TOKEN }}" -d '{"name": "'"$RELEASE_TITLE"'", "tag_name": "'"v$version"'"}' "https://api.github.com/repos/${{ github.repository }}/releases/${{ env.RELEASE_ID }}"

- name: Attach Files to Draft Release
working-directory: ${{ inputs.artifactPath }}
id: upload-release-asset
run: ./.github/upload_asset.sh $(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
run: ${{ env.REPO_ROOT }}/.github/upload_asset.sh $(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
ASSET_NAME_PREFIX: "${{ env.artifact_id }}-"
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/extension-release-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
required: false
default: ''
type: string
artifactPath:
description: "Specify the path to the artifacts that should be attached to the build. Useful for multi-module extensions."
required: false
default: "."
type: string

permissions:
contents: write
Expand Down Expand Up @@ -84,11 +89,13 @@ jobs:
git config --local user.name "liquibot"

- name: Run extra command
working-directory: ${{ inputs.artifactPath }}
if: inputs.extraCommand != ''
run: |
${{ inputs.extraCommand }}

- name: Prepare Maven Release
working-directory: ${{ inputs.artifactPath }}
run: |
mvn -B build-helper:parse-version release:clean release:prepare \
-Darguments="-Dusername=liquibot -Dpassword=${{ secrets.BOT_TOKEN }} -Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" \
Expand All @@ -97,6 +104,7 @@ jobs:
git tag -d temp
git push --force


- name: Save Release files
if: always()
uses: actions/upload-artifact@v3
Expand All @@ -109,7 +117,8 @@ jobs:
release-rollback:
needs: prepare-release
if: ${{ always() && contains(needs.*.result, 'failure') }}
uses: liquibase/build-logic/.github/workflows/extension-release-rollback.yml@v0.7.8
uses: liquibase/build-logic/.github/workflows/extension-release-rollback.yml@main
secrets: inherit
with:
extraCommand: ${{ inputs.extraCommand }}
artifactPath: ${{ inputs.artifactPath }}
Loading