Switch to Gradle build action

This commit is contained in:
embeddedt 2023-07-29 20:21:04 -04:00
parent ce7e796d93
commit 106b3447eb
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -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: