diff --git a/.github/workflows/attach-artifact-release.yml b/.github/workflows/attach-artifact-release.yml index 4021362a..d39639fd 100644 --- a/.github/workflows/attach-artifact-release.yml +++ b/.github/workflows/attach-artifact-release.yml @@ -7,5 +7,7 @@ on: jobs: attach-artifact-to-release: - uses: liquibase/build-logic/.github/workflows/extension-attach-artifact-release.yml@v0.4.8 - secrets: inherit \ No newline at end of file + uses: liquibase/build-logic/.github/workflows/extension-attach-artifact-release.yml@v0.5.2 + secrets: inherit + with: + extraCommand: mvn install:install-file -Dfile=lib/GoogleBigQueryJDBC42.jar -DgroupId=com.simba.googlebigquery.jdbc -DartifactId=GoogleBigQueryJDBC42 -Dversion=4.2 -Dpackaging=jar \ No newline at end of file diff --git a/.github/workflows/build-nightly.yml b/.github/workflows/build-nightly.yml index deafc798..a2283934 100644 --- a/.github/workflows/build-nightly.yml +++ b/.github/workflows/build-nightly.yml @@ -2,12 +2,15 @@ name: "Nightly build" on: + workflow_dispatch: schedule: - cron: '0 7 * * 1-5' jobs: nightly-build: - uses: liquibase/build-logic/.github/workflows/os-extension-test.yml@v0.4.8 + uses: liquibase/build-logic/.github/workflows/os-extension-test.yml@v0.5.2 with: nightly: true + extraCommand: mvn install:install-file -Dfile=lib/GoogleBigQueryJDBC42.jar -DgroupId=com.simba.googlebigquery.jdbc -DartifactId=GoogleBigQueryJDBC42 -Dversion=4.2 -Dpackaging=jar + os: '["ubuntu-latest"]' secrets: inherit \ No newline at end of file diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index e5bb75c8..00147a68 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -7,5 +7,5 @@ on: jobs: create-release: - uses: liquibase/build-logic/.github/workflows/create-release.yml@v0.4.8 + uses: liquibase/build-logic/.github/workflows/create-release.yml@v0.5.2 secrets: inherit diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml index 66287b2e..f068aba2 100644 --- a/.github/workflows/release-published.yml +++ b/.github/workflows/release-published.yml @@ -7,5 +7,7 @@ on: jobs: release: - uses: liquibase/build-logic/.github/workflows/extension-release-published.yml@v0.4.8 + uses: liquibase/build-logic/.github/workflows/extension-release-published.yml@v0.5.2 secrets: inherit + with: + extraCommand: mvn install:install-file -Dfile=lib/GoogleBigQueryJDBC42.jar -DgroupId=com.simba.googlebigquery.jdbc -DartifactId=GoogleBigQueryJDBC42 -Dversion=4.2 -Dpackaging=jar diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e3af0a2b..df52fda0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,5 +10,8 @@ on: jobs: build-test: - uses: liquibase/build-logic/.github/workflows/os-extension-test.yml@v0.4.8 - secrets: inherit \ No newline at end of file + uses: liquibase/build-logic/.github/workflows/os-extension-test.yml@v0.5.2 + secrets: inherit + with: + extraCommand: mvn install:install-file -Dfile=lib/GoogleBigQueryJDBC42.jar -DgroupId=com.simba.googlebigquery.jdbc -DartifactId=GoogleBigQueryJDBC42 -Dversion=4.2 -Dpackaging=jar + os: '["ubuntu-latest"]' \ No newline at end of file diff --git a/README.md b/README.md index 21c8319d..e0e839a2 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,12 @@ Add files from the archive to the liquibase lib directory. ### Liquibase BigQuery extension +Before building the extension be sure to locally install the Simba driver as follows: + +```bash +mvn install:install-file -Dfile=lib/GoogleBigQueryJDBC42.jar -DgroupId=com.simba.googlebigquery.jdbc -DartifactId=GoogleBigQueryJDBC42 -Dversion=4.2 -Dpackaging=jar +```` + Build this project with `mvn` or download the jar file corresponding to the latest release and put it into `liquibase/lib` lib directory. diff --git a/pom.xml b/pom.xml index 8c757cd1..fe74aca6 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.liquibase liquibase-parent-pom - 0.2.2 + 0.2.6 org.liquibase.ext @@ -57,8 +57,6 @@ com.simba.googlebigquery.jdbc GoogleBigQueryJDBC42 4.2 - system - ${basedir}/lib/GoogleBigQueryJDBC42.jar com.google.cloud @@ -128,4 +126,4 @@ - + \ No newline at end of file