Skip to content

Commit 174b9c2

Browse files
author
naresh chocha
committed
feat: enhance CI configuration to manage Gradle properties and upload report
1 parent f876430 commit 174b9c2

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,16 @@ jobs:
4242
GRADLE_PROPERTIES: ${{ secrets.GRADLE_PROPERTIES }}
4343
shell: bash
4444
run: |
45-
# Print the entire GRADLE_PROPERTIES value in logs
46-
echo "GRADLE_PROPERTIES: $GRADLE_PROPERTIES"
45+
mkdir -p ~/.gradle/
46+
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
47+
echo "${GRADLE_PROPERTIES}" > ~/.gradle/gradle.properties
4748
49+
- name: Upload gradle properties report
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: gradle-properties
53+
path: |
54+
**/.gradle/gradle.properties
4855
- name: Run checks
4956
run: ./gradlew filepickerlibrary:spotlessCheck detekt
5057

0 commit comments

Comments
 (0)