Skip to content

Commit

Permalink
Changing everything to use gradle build action
Browse files Browse the repository at this point in the history
  • Loading branch information
Windchild292 committed Feb 25, 2022
1 parent 8a86144 commit dc59831
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,11 @@ jobs:
#
# Output Variables:
# - buildScanUri
- name: Build with Gradle
id: gradle_build
working-directory: mekhq
run: ./gradlew -I .github/build-scan-init.gradle build --stacktrace --scan
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: clean build --stacktrace --scan
build-root-directory: mekhq

# If the build step fails, try to upload any test logs in case it was a unit test failure.
#
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ jobs:

# Include --stacktrace to make some build failures easier to figure out.
- name: Build with Gradle
working-directory: mekhq
run: ./gradlew -I .github/build-scan-init.gradle build -x test --continue --stacktrace --scan
uses: gradle/gradle-build-action@v2
with:
arguments: clean build -x test --continue --stacktrace --scan
build-root-directory: mekhq

- name: Upload Test Logs on Failure
uses: actions/[email protected]
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/nightly-maven-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ jobs:
if: runner.os != 'Windows'

# Include --stacktrace to make some build failures easier to figure out.
- name: Build with Gradle
working-directory: mekhq
run: ./gradlew -I .github/build-scan-init.gradle build --continue --stacktrace --scan
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: clean build --continue --stacktrace --scan
build-root-directory: mekhq

- name: Upload Test Logs on Failure
uses: actions/[email protected]
Expand Down

0 comments on commit dc59831

Please sign in to comment.