Skip to content

Commit

Permalink
Revert "handle dryrun value hereas a safe side. (#343)"
Browse files Browse the repository at this point in the history
This reverts commit 13d684b.
  • Loading branch information
sayaliM0412 authored Nov 13, 2024
1 parent 3d04be2 commit 9dfb7bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
}
if (context.payload.client_payload) {
const liquibaseVersion = context.payload.client_payload.liquibaseVersion
const dryRun = context.payload.client_payload.dryRun || false
const dryRun = context.payload.client_payload.dryRun
const minorVersion = getMinorVersion(liquibaseVersion)
core.setOutput("liquibaseVersion", liquibaseVersion);
core.setOutput("extensionVersion", liquibaseVersion);
core.setOutput("minorVersion", minorVersion);
core.setOutput("dryRun", dryRun);
} else if (context.payload.inputs) {
const liquibaseVersion = context.payload.inputs.liquibaseVersion
const dryRun = context.payload.inputs.dryRun || false
const dryRun = context.payload.inputs.dryRun
const minorVersion = getMinorVersion(liquibaseVersion)
core.setOutput("liquibaseVersion", liquibaseVersion);
core.setOutput("extensionVersion", context.payload.inputs.extensionVersion || liquibaseVersion);
Expand Down Expand Up @@ -276,3 +276,4 @@ jobs:
- name: Adding Official Docker PR to job summary
if: ${{ needs.update-dockerfiles.outputs.dryRun == 'false' }}
run: echo '### 🚀 Official Docker PR -> ${{ env.PR_URL }}' >> $GITHUB_STEP_SUMMARY

0 comments on commit 9dfb7bf

Please sign in to comment.