Skip to content

Commit

Permalink
Fix publishing to sonatype in GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
platan committed Oct 15, 2023
1 parent b26ed38 commit aa6e806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa6e806

Please sign in to comment.