From b0b21900ea552c65013c3f4c32cc59b9e3d4c4d9 Mon Sep 17 00:00:00 2001 From: Kolchurin Konstantin Date: Fri, 20 Feb 2026 16:49:58 +0700 Subject: [PATCH] #56 updated publish action --- .github/workflows/publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bb4f2c7..edba5ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,9 +26,12 @@ jobs: with: java-version: 17 distribution: zulu + - name: Prebuild library + run: ./gradlew publishToMavenLocal - name: Publish -# gradle configuration cache not supported in https://github.com/gradle-nexus/publish-plugin - run: ./gradlew publish --no-configuration-cache + # Publish plugin lacks configuration cache support: + # https://github.com/gradle-nexus/publish-plugin/issues/221 + run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --no-configuration-cache release: name: Create release