From e1cf13d841eaf4a9f345fe7a72c58581347129f9 Mon Sep 17 00:00:00 2001 From: Martin Bonnin Date: Sun, 3 Nov 2024 22:51:14 +0100 Subject: [PATCH] fix sha1 --- .github/workflows/publish-snapshot.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-snapshot.yaml b/.github/workflows/publish-snapshot.yaml index f46aefb..ef7d183 100644 --- a/.github/workflows/publish-snapshot.yaml +++ b/.github/workflows/publish-snapshot.yaml @@ -12,7 +12,7 @@ jobs: - uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda #v3.4.2 - run: | ./gradlew librarianPublishToSnapshots - LIBRARIAN_VERSION_SHA1=$GITHUB_REF ./gradlew librarianPublishToGcs + LIBRARIAN_VERSION_SHA1=$GITHUB_SHA ./gradlew librarianPublishToGcs env: LIBRARIAN_SONATYPE_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} LIBRARIAN_SONATYPE_USERNAME: ${{ secrets.OSSRH_USER }}