From 1e1c7eb5fe6254a93da7df879cdbc6cccaf9379a Mon Sep 17 00:00:00 2001 From: Kien Dang Date: Thu, 30 Oct 2025 19:05:10 +0800 Subject: [PATCH] Update publishing --- .github/workflows/ci.yml | 11 ++++++++--- build.sbt | 5 ----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 635bde6..184cf8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,14 +31,19 @@ jobs: run: sbt +test shell: bash publish: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [test] if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - - uses: olafurpg/setup-scala@v13 + - uses: actions/setup-java@v5 + with: + distribution: temurin + java-version: 8 + cache: sbt + - uses: sbt/setup-sbt@v1 - run: sbt ci-release env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} diff --git a/build.sbt b/build.sbt index e90a9cb..8355afe 100644 --- a/build.sbt +++ b/build.sbt @@ -46,11 +46,6 @@ lazy val root = project } } ) -// TODO: reconfigure sonatype publishing -// .settings( -// sonatypeCredentialHost := "s01.oss.sonatype.org", -// sonatypeRepository := "https://s01.oss.sonatype.org/service/local" -// ) lazy val docs = project .in(file("python-docs"))