Skip to content

Commit

Permalink
Changed listTasksAsJSON
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Gudel <pawel.gudel@eliatra.com>
  • Loading branch information
pawel-gudel-eliatra committed Jun 23, 2023
1 parent 9f99bcf commit 73b6bb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Generate list of tasks
id: set-matrix
run: |
echo "separateTestsNames=$(./gradlew listTasksAsJSON -q --console=plain | tail -n 1)" >> $GITHUB_OUTPUT
echo "separateTestsNames=$(./gradlew listTasksAsJSON -q --console=plain | head -n 1)" >> $GITHUB_OUTPUT
build:
name: build
Expand Down
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@ def splitTestConfig = [
List<String> taskNames = splitTestConfig.keySet() as List

task listTasksAsJSON {
doLast {
System.out.println(new JsonBuilder(taskNames))
}
System.out.println(new JsonBuilder(taskNames))
}

test {
Expand Down

0 comments on commit 73b6bb9

Please sign in to comment.