From b89b16bdff6865c2568d563488e1a1086aedd906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TATSUNO=20=E2=80=9CTaz=E2=80=9D=20Yasuhiro?= Date: Sat, 9 Aug 2025 20:18:17 +0900 Subject: [PATCH 1/2] Bump Java action and use setup-sbt to install sbt --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72362d8..611b9de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: adopt + - uses: sbt/setup-sbt@v1 - name: Download Athena JDBC v3 Driver run: mkdir -p lib && curl -L -o lib/athena-v3.jar curl -L -O https://downloads.athena.us-east-1.amazonaws.com/drivers/JDBC/3.5.1/athena-jdbc-3.5.1-with-dependencies.jar shell: bash From 2c0f82b694550c8d27aa95e6688e8ccfc08cee5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TATSUNO=20=E2=80=9CTaz=E2=80=9D=20Yasuhiro?= Date: Sat, 9 Aug 2025 20:22:19 +0900 Subject: [PATCH 2/2] Fix curl option --- .github/workflows/ci.yml | 2 +- README.md | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 611b9de..83b9b69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: distribution: adopt - uses: sbt/setup-sbt@v1 - name: Download Athena JDBC v3 Driver - run: mkdir -p lib && curl -L -o lib/athena-v3.jar curl -L -O https://downloads.athena.us-east-1.amazonaws.com/drivers/JDBC/3.5.1/athena-jdbc-3.5.1-with-dependencies.jar + run: mkdir -p lib && curl -L -o lib/athena-v3.jar https://downloads.athena.us-east-1.amazonaws.com/drivers/JDBC/3.5.1/athena-jdbc-3.5.1-with-dependencies.jar shell: bash - name: Download Athena JDBC v2 Driver run: mkdir -p lib && curl -L -o lib/athena-v2.jar https://downloads.athena.us-east-1.amazonaws.com/drivers/JDBC/SimbaAthenaJDBC-2.1.1.1000/AthenaJDBC42-2.1.1.1000.jar diff --git a/README.md b/README.md index 4bcda33..6ce266b 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,7 @@ Library for using [Amazon Athena](https://aws.amazon.com/athena/) JDBC Driver wi If you encounter problems with a particular version, please feel free to [report it](https://github.com/zaneli/scalikejdbc-athena/issues). ```sh > mkdir lib -> pushd lib -> curl -L -O https://downloads.athena.us-east-1.amazonaws.com/drivers/JDBC/3.5.1/athena-jdbc-3.5.1-with-dependencies.jar -> popd +> curl -L -o lib/athena-vjdbc-3.5.1-with-dependencies.jar https://downloads.athena.us-east-1.amazonaws.com/drivers/JDBC/3.5.1/athena-jdbc-3.5.1-with-dependencies.jar ``` - Add library dependencies to sbt build settings