Skip to content

Commit

Permalink
Fix nightly builds (#174)
Browse files Browse the repository at this point in the history
* chore(pro-extension-test.yml): update descriptions to use double quotes for consistency
chore(pro-extension-test.yml): update MAVEN_VERSION value to use double quotes
chore(pro-extension-test.yml): update distribution and cache values to use double quotes
chore(pro-extension-test.yml): update if conditions to use double quotes
chore(pro-extension-test.yml): update SLACK_MESSAGE and SLACK_TITLE to use double quotes
chore(pro-extension-test.yml): update SLACK_ICON_EMOJI and SLACK_FOOTER to use double quotes
feat(pro-extension-test.yml): add support for running tests with liquibase master-SNAPSHOT version when nightly flag is set

* chore(os-extension-test.yml): update descriptions in workflow inputs to use double quotes for consistency
chore(os-extension-test.yml): update Maven version environment variable to use double quotes
chore(os-extension-test.yml): update setup-java and setup-maven actions to use double quotes for distribution and cache
chore(os-extension-test.yml): update Slack notification messages to use double quotes for consistency
chore(os-extension-test.yml): update setup-java and setup-maven actions in matrix to use double quotes for distribution and cache

* chore(os-extension-test.yml): update liquibase version parameter to be enclosed in quotes for consistency and to prevent potential issues with special characters.

* chore(pro-extension-test.yml): wrap liquibase version argument in quotes to ensure proper parsing and prevent issues with special characters

* chore(os-extension-test.yml): add maven settings for Liquibase repositories to enable access to Liquibase and Liquibase Pro artifacts
  • Loading branch information
jandroav authored Mar 5, 2024
1 parent 3666749 commit 408fcaa
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/os-extension-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,49 @@ jobs:
with:
maven-version: ${{ env.MAVEN_VERSION }}

# look for dependencies in maven
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v21
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 }}"
}
]
- uses: actions/download-artifact@v3
with:
name: ${{needs.build.outputs.artifact_id}}-artifacts
Expand Down

0 comments on commit 408fcaa

Please sign in to comment.