diff --git a/.github/workflows/extension-attach-artifact-release.yml b/.github/workflows/extension-attach-artifact-release.yml index 65b168da..c3483e68 100644 --- a/.github/workflows/extension-attach-artifact-release.yml +++ b/.github/workflows/extension-attach-artifact-release.yml @@ -15,12 +15,6 @@ on: jobs: - release-prepare: - uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@v0.3.5 - with: - pushChanges: "false" - secrets: inherit - attach-to-release: name: Attach Artifact to Release if: github.event.pull_request.merged == true @@ -45,14 +39,14 @@ jobs: chmod +x $PWD/.github/sign_artifact.sh chmod +x $PWD/.github/upload_asset.sh + - 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" -DreleaseVersion=${{ github.event.inputs.liquibaseVersion }} -DpushChanges=false + - name: Get Artifact ID id: get-artifact-id run: echo "artifact_id=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)" >> $GITHUB_ENV - - name: Build release artifacts - id: build-release-artifacts - run: mvn clean install -DskipTests - - name: Get Release Tag id: get-release-tag run: echo "release_tag=$(./.github/get_draft_release.sh TAG)" >> $GITHUB_ENV diff --git a/.github/workflows/extension-release-prepare.yml b/.github/workflows/extension-release-prepare.yml index 56996444..8f43d6ad 100644 --- a/.github/workflows/extension-release-prepare.yml +++ b/.github/workflows/extension-release-prepare.yml @@ -2,10 +2,6 @@ name: Prepare release on: workflow_call: - inputs: - pushChanges: - required: true - type: string jobs: prepare-release: @@ -31,7 +27,7 @@ jobs: - name: Prepare Maven Release 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" -DreleaseVersion=${{ github.event.inputs.liquibaseVersion }} -DpushChanges=${{ inputs.pushChanges }} + 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" -DreleaseVersion=${{ github.event.inputs.liquibaseVersion }} - name: Save Release files uses: actions/upload-artifact@v3 diff --git a/.github/workflows/extension-release-published.yml b/.github/workflows/extension-release-published.yml index ef7bf201..d1963f05 100644 --- a/.github/workflows/extension-release-published.yml +++ b/.github/workflows/extension-release-published.yml @@ -14,8 +14,6 @@ jobs: release-prepare-push: uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@v0.3.5 - with: - pushChanges: "true" secrets: inherit release: