diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 5e71316..9140254 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -21,7 +21,7 @@ jobs: java-version: '11' distribution: 'temurin' - name: Validate Gradle wrapper - uses: gradle/wrapper-validation-action@83cf5fdbbf627c8da6fec32f28db58967a3136ac + uses: gradle/wrapper-validation-action@v2 - name: Get current version id: current-version # $VERSION should contain something like "Project version: 0.4.1-SNAPSHOT" @@ -30,7 +30,7 @@ jobs: echo "currentVersionInfo=$VERSION" >> "$GITHUB_OUTPUT" - name: Publish package to Sonatype if: ${{ contains(steps.current-version.outputs.currentVersionInfo, 'SNAPSHOT') }} - uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa + uses: gradle/gradle-build-action@v3 with: arguments: :tests-execution-chart-commons:publishToSonatype -i env: