Skip to content

Commit

Permalink
🔧 (pro-extension-test.yml): change the shell to bash for running test…
Browse files Browse the repository at this point in the history
…s to ensure compatibility and fix syntax error in the command by removing unnecessary double quotes around inputs. (#251)
  • Loading branch information
jandroav authored Aug 27, 2024
1 parent 08a856a commit db6ef5c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pro-extension-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,13 @@ jobs:
- name: Run Tests
if: ${{ !inputs.nightly }}
run: |
mvn -B test -P '${{ inputs.mavenProfiles }}' "${{ inputs.extraMavenArgs }}"
shell: bash
run: mvn -B test -P '${{ inputs.mavenProfiles }}' ${${{ inputs.extraMavenArgs }}:+\"${{ inputs.extraMavenArgs }}\"}

- name: Run Tests
if: ${{ inputs.nightly }}
run: mvn -B test -P '${{ inputs.mavenProfiles }}' "${{ inputs.extraMavenArgs }}" "-Dliquibase.version=master-SNAPSHOT"
shell: bash
run: mvn -B test -P '${{ inputs.mavenProfiles }}' ${${{ inputs.extraMavenArgs }}:+\"${{ inputs.extraMavenArgs }}\"} "-Dliquibase.version=master-SNAPSHOT"

- name: Notify Slack on Build Failure
if: ${{ failure() && inputs.nightly }}
Expand Down

0 comments on commit db6ef5c

Please sign in to comment.