Skip to content

Commit

Permalink
feat: use gradle instead of gradlew
Browse files Browse the repository at this point in the history
  • Loading branch information
gciatto committed May 26, 2022
1 parent 4f6082d commit 03f7f20
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
- uses: DanySK/build-check-deploy-gradle-action@1.0.0
with:
pre-build-command: 'true'
build-command: ./gradlew assemble --parallel
check-command: ./gradlew check --parallel
build-command: gradle assemble --parallel
check-command: gradle check --parallel
clean-command: 'true'
deploy-command: ./gradlew publish --parallel
gradle-termination-command: ./gradlew --stop
deploy-command: gradle publish --parallel
gradle-termination-command: gradle --stop
java-distribution: temurin
java-version: '17'
should-run-codecov: false
Expand Down
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ inputs:
required: false
build-command:
description: 'The command executed in the build phase'
default: './gradlew assemble --parallel'
default: 'gradle assemble --parallel'
required: false
check-command:
description: 'The command executed in the check phase'
default: './gradlew check --parallel'
default: 'gradle check --parallel'
required: false
clean-command:
description: 'The command executed in the final clean phase'
Expand All @@ -27,11 +27,11 @@ inputs:
required: false
deploy-command:
description: 'The condition triggering a deploy run'
default: "./gradlew publish --parallel"
default: "gradle publish --parallel"
required: false
gradle-termination-command:
description: 'The command to terminate the gradle wrapper gracefully'
default: "./gradlew --stop"
default: "gradle --stop"
required: false
java-distribution:
description: 'The Java distrbutor to use'
Expand Down Expand Up @@ -187,7 +187,7 @@ runs:
- name: Turn off the Gradle Daemon
shell: bash
working-directory: ${{ inputs.working-directory }}
run: ./gradlew --stop
run: gradle --stop
- name: Force-kill the remaining Gradle Daemons on Windows
if: ${{ runner.os == 'Windows' }}
shell: powershell
Expand Down

0 comments on commit 03f7f20

Please sign in to comment.