diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index f680e99..f6d37d9 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -40,9 +40,9 @@ jobs: - uses: gradle/actions/setup-gradle@v4 - name: run-validateRewrite run: | - ./gradlew - --info - --stacktrace - --no-daemon - --init-script /home/runner/work/rewrite-gradle-plugin/rewrite-gradle-plugin/rewrite-gradle-plugin/scripts/spring-petclinic-test.init.gradle + ./gradlew \ + --info \ + --stacktrace \ + --no-daemon \ + --init-script /home/runner/work/rewrite-gradle-plugin/rewrite-gradle-plugin/rewrite-gradle-plugin/scripts/spring-petclinic-test.init.gradle \ validateRewrite diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ed208fa..1bfbcd3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,23 +26,23 @@ jobs: - name: publish-candidate if: contains(github.ref, '-rc.') run: | - ./gradlew - -Preleasing - -Prelease.disableGitChecks=true - -Prelease.useLastTag=true - -Dgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} - -Dgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }} - candidate + ./gradlew \ + -Preleasing \ + -Prelease.disableGitChecks=true \ + -Prelease.useLastTag=true \ + -Dgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} \ + -Dgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }} \ + candidate \ publishPlugins - name: publish-release if: (!contains(github.ref, '-rc.')) run: | - ./gradlew - -Preleasing - -Prelease.disableGitChecks=true - -Prelease.useLastTag=true - -Dgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} - -Dgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }} - final + ./gradlew \ + -Preleasing \ + -Prelease.disableGitChecks=true \ + -Prelease.useLastTag=true \ + -Dgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} \ + -Dgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }} \ + final \ publishPlugins