Switch to Gradle build action
This commit is contained in:
parent
ce7e796d93
commit
106b3447eb
9
.github/workflows/gradle.yml
vendored
9
.github/workflows/gradle.yml
vendored
|
|
@ -21,11 +21,12 @@ jobs:
|
|||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
cache: 'gradle'
|
||||
- name: Build ModernFix using Gradle
|
||||
run: |
|
||||
chmod +x gradlew
|
||||
./gradlew --no-daemon build
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/1.') }}
|
||||
gradle-home-cache-cleanup: true
|
||||
arguments: build
|
||||
- name: Upload Artifacts to GitHub
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user