Skip to content

Commit

Permalink
fix: escape newline in run commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sjungling committed Aug 9, 2024
1 parent a1d8602 commit b64f3e9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
28 changes: 14 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b64f3e9

Please sign in to comment.