From aa6e806eaf55d3e27d92c655e828cc4572d09405 Mon Sep 17 00:00:00 2001 From: Marcin Mielnicki Date: Sun, 15 Oct 2023 19:16:29 +0200 Subject: [PATCH] Fix publishing to sonatype in GH action --- .github/workflows/publish-snapshot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index a113206..63a18d4 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -29,7 +29,7 @@ jobs: VERSION=$(./gradlew currentVersion -q | grep "Project version") echo "currentVersionInfo=$VERSION" >> "$GITHUB_OUTPUT" - name: Publish package to Sonatype - if: ${{ contains(steps.current-version.outputs.currentVersion, 'SNAPSHOT') }} + if: ${{ contains(steps.current-version.outputs.currentVersionInfo, 'SNAPSHOT') }} uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 with: arguments: :tests-execution-chart-commons:publishToSonatype -i