Skip to content

Commit

Permalink
testing the build changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
godaridillibabu authored and godaridillibabu committed Dec 12, 2024
1 parent 176a562 commit ba6b5db
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,21 @@ jobs:
with:
show-progress: false
fetch-depth: 0

# Step to set up JDK
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: gradle

# Step to set up gradle.properties
- name: Set up gradle.properties
run: |
cp gradle.properties.example gradle.properties
grep -q '^skipSigning=' gradle.properties || echo "skipSigning=false" >> gradle.properties
# Step to run Gradle build
- name: Gradle Build
run: ./gradlew build
run: ./gradlew build
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build files
.gradle/
gradle.properties
!gradle.properties
build/

# Ignore IntelliJ files
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skipSigning=false
#skipSigning=false
#signing.keyId=KEYID
#signing.password=KEY_PASSWORD
#signing.secretKeyRingFile=KEY_PATH
Expand Down

0 comments on commit ba6b5db

Please sign in to comment.