Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultrasonic1209 committed Nov 25, 2021
2 parents 9843f74 + 575826e commit 261a858
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,21 @@ jobs:
distribution: 'adopt'
cache: gradle

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew build jar --no-daemon
run: ./gradlew build jar

- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.4
Expand Down

0 comments on commit 261a858

Please sign in to comment.