Skip to content

Commit

Permalink
Update java-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TanNhatCMS committed Jan 23, 2024
1 parent 37668ff commit e0db22d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/java-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
with:
distribution: 'adopt'
java-version: '21'

- name: chmod gradlew
run: |
chmod +x gradlew
- name: Initialize Gradle project (if not present)
run: ./gradlew init --type java-library

Expand All @@ -33,6 +35,5 @@ jobs:
- name: Find Java Files Compile Java code
run: |
./gradlew clean
chmod +x gradlew
./gradlew findJavaFiles build

0 comments on commit e0db22d

Please sign in to comment.