Skip to content

Commit

Permalink
Updated gradle.yml
Browse files Browse the repository at this point in the history
Attempt to make GitHub Actions compile faster
  • Loading branch information
SpoonySimone authored Feb 16, 2024
1 parent 8fc9ec3 commit 136018b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@ jobs:
distribution: 'adopt'
cache: gradle

- name: Cache Gradle dependencies
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}

- name: Change wrapper permissions
run: chmod +x ./gradlew

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

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 136018b

Please sign in to comment.