diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index f571a77..aa8719c 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -10,25 +10,16 @@ on: jobs: Build: - runs-on: [self-hosted, docker] + runs-on: ubuntu-latest permissions: checks: write timeout-minutes: 30 - container: - image: ghcr.io/project-tsurugi/oltp-sandbox:latest - credentials: - username: ${{ github.repository_owner }} - password: ${{ secrets.GHCR_PAT }} - volumes: - - ${{ vars.gradle_cache_dir }}:/root/.gradle defaults: run: shell: bash working-directory: java/cost-accounting-benchmark env: JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 - GPR_USER: ${{ github.repository_owner }} - GPR_KEY: ${{ secrets.GHCR_PAT }} steps: - name: Setup_Java diff --git a/java/cost-accounting-benchmark/build.gradle b/java/cost-accounting-benchmark/build.gradle index 4b70894..21a9194 100755 --- a/java/cost-accounting-benchmark/build.gradle +++ b/java/cost-accounting-benchmark/build.gradle @@ -12,24 +12,16 @@ if (hasProperty('mavenLocal')) { } else { repositories { maven { - url 'https://maven.pkg.github.com/project-tsurugi/*' + url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' content { includeGroupByRegex 'com\\.tsurugidb.*' } - credentials { - username findProperty('gpr.user') ?: System.getenv('GPR_USER') - password findProperty('gpr.key') ?: System.getenv('GPR_KEY') - } } } } repositories { - mavenCentral { - content { - excludeGroupByRegex 'com\\.tsurugidb.*' - } - } + mavenCentral() } configurations.all {