Skip to content

Commit

Permalink
feat(gradle-library): supported nested subprojects
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed Aug 20, 2024
1 parent 4243206 commit be1659a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
for folder in $folders; do
echo "Processing subproject: $folder"
./gradlew ":${folder}:dependencies" --write-locks
./gradlew ":${folder//\//:}:dependencies" --write-locks
done
- name: Run custom command
Expand All @@ -166,7 +166,7 @@ jobs:
with:
name: Gradle test reports
retention-days: 7
path: ${{ inputs.multi-module && '*/build/reports/tests' || 'build/reports/tests' }}
path: ${{ inputs.multi-module && '**/build/reports/tests' || 'build/reports/tests' }}

#
# Security scans
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4.3.1
if: always() # always run even if the previous step fails
with:
report_paths: "${{ inputs.multi-module && '*/build/test-results/**/*.xml' || 'build/test-results/**/*.xml' }}"
report_paths: "${{ inputs.multi-module && '**/build/test-results/**/*.xml' || 'build/test-results/**/*.xml' }}"
require_tests: ${{ !inputs.skip-build && inputs.expect-tests }}

# Workaround for check that is additionally created being associated
Expand Down

0 comments on commit be1659a

Please sign in to comment.