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:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
cache: 'gradle'
|
|
||||||
- name: Build ModernFix using Gradle
|
- name: Build ModernFix using Gradle
|
||||||
run: |
|
uses: gradle/gradle-build-action@v2
|
||||||
chmod +x gradlew
|
with:
|
||||||
./gradlew --no-daemon build
|
cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/1.') }}
|
||||||
|
gradle-home-cache-cleanup: true
|
||||||
|
arguments: build
|
||||||
- name: Upload Artifacts to GitHub
|
- name: Upload Artifacts to GitHub
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user