From 6655441c428077e2cc63dcfe9cf44f5747ec3ec0 Mon Sep 17 00:00:00 2001 From: jandroav Date: Wed, 27 Dec 2023 09:39:32 +0100 Subject: [PATCH] chore(workflows): update liquibase/build-logic workflows to version v0.6.0 The liquibase/build-logic workflows have been updated to version v0.6.0. This update includes bug fixes and improvements to the workflows. The following workflows have been updated: - attach-artifact-release.yml - build-nightly.yml - codeql.yml - create-release.yml - release-published.yml - test.yml These updates ensure that the workflows are using the latest version of the liquibase/build-logic actions and provide better functionality and stability. --- .github/workflows/attach-artifact-release.yml | 2 +- .github/workflows/build-nightly.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/create-release.yml | 2 +- .github/workflows/release-published.yml | 44 ++----------------- .github/workflows/test.yml | 2 +- 6 files changed, 8 insertions(+), 46 deletions(-) diff --git a/.github/workflows/attach-artifact-release.yml b/.github/workflows/attach-artifact-release.yml index 195cea78..26105dba 100644 --- a/.github/workflows/attach-artifact-release.yml +++ b/.github/workflows/attach-artifact-release.yml @@ -8,5 +8,5 @@ on: jobs: attach-artifact-to-release: - uses: liquibase/build-logic/.github/workflows/extension-attach-artifact-release.yml@v0.5.9 + uses: liquibase/build-logic/.github/workflows/extension-attach-artifact-release.yml@v0.6.0 secrets: inherit diff --git a/.github/workflows/build-nightly.yml b/.github/workflows/build-nightly.yml index 57e71d18..cb00c190 100644 --- a/.github/workflows/build-nightly.yml +++ b/.github/workflows/build-nightly.yml @@ -7,7 +7,7 @@ on: jobs: nightly-build: - uses: liquibase/build-logic/.github/workflows/os-extension-test.yml@v0.5.9 + uses: liquibase/build-logic/.github/workflows/os-extension-test.yml@v0.6.0 with: nightly: true secrets: inherit diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b805d4de..4e10d42f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -12,7 +12,7 @@ on: jobs: codeql: - uses: liquibase/build-logic/.github/workflows/codeql.yml@v0.5.9 + uses: liquibase/build-logic/.github/workflows/codeql.yml@v0.6.0 secrets: inherit with: languages: '["java"]' diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index c8444a28..68488915 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -8,5 +8,5 @@ on: jobs: create-release: - uses: liquibase/build-logic/.github/workflows/create-release.yml@v0.5.9 + uses: liquibase/build-logic/.github/workflows/create-release.yml@v0.6.0 secrets: inherit diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml index 112828d3..12a99d5c 100644 --- a/.github/workflows/release-published.yml +++ b/.github/workflows/release-published.yml @@ -7,46 +7,8 @@ on: jobs: release: - uses: liquibase/build-logic/.github/workflows/extension-release-published.yml@v0.5.9 + uses: liquibase/build-logic/.github/workflows/extension-release-published.yml@v0.6.0 secrets: inherit + with: + nameSpace: mongodb - deploy_xsd: - name: Upload xsds - runs-on: ubuntu-20.04 - steps: - - name: Download liquibase mongodb xsd - uses: actions/checkout@v4 - with: - # Relative path under $GITHUB_WORKSPACE to place the repository - path: liquibase-mongodb - repository: "liquibase/liquibase-mongodb" - - - name: Upload to s3 - env: - AWS_ACCESS_KEY_ID: ${{ secrets.LIQUIBASEORIGIN_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.LIQUIBASEORIGIN_SECRET_ACCESS_KEY }} - AWS_DEFAULT_REGION: us-east-1 - # aws s3 sync syncs directories and S3 prefixes. - run: | - aws s3 sync liquibase-mongodb/src/main/resources/www.liquibase.org/xml/ns/mongodb/ s3://liquibaseorg-origin/xml/ns/mongodb/ --content-type application/octet-stream --only-show-errors - - name: Index.htm file upload - env: - AWS_ACCESS_KEY_ID: ${{ secrets.LIQUIBASEORIGIN_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.LIQUIBASEORIGIN_SECRET_ACCESS_KEY }} - AWS_DEFAULT_REGION: us-east-1 - # List all xsd and htm files in repository. Copy index.htm to temporary folder - # Add links for all xsd files to index.htm file (except liquibase-mongodb-latest.xsd and index.htm) - # Sync index.htm with the s3 - run: | - search_dir=liquibase-mongodb/src/main/resources/www.liquibase.org/xml/ns/mongodb - filenames=`ls -1 $search_dir` - mkdir index-file - cp $search_dir/index.htm index-file/ - for entry in $filenames - do - if [[ "$entry" != "liquibase-mongodb-latest.xsd" ]] && [[ "$entry" != "index.htm" ]] ;then - sed -ie "s/<\/ul>/
  • ${entry}<\/a><\/li>\n<\/ul>/" index-file/index.htm - fi - done - - aws s3 sync index-file s3://liquibaseorg-origin/xml/ns/mongodb/ --only-show-errors diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d1722dba..12812adc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ on: jobs: build-test: - uses: liquibase/build-logic/.github/workflows/os-extension-test.yml@v0.5.9 + uses: liquibase/build-logic/.github/workflows/os-extension-test.yml@v0.6.0 secrets: inherit integration-tests: