-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d333f9
commit 1cc4364
Showing
1 changed file
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
name: Compile | ||
on: [] | ||
jobs: | ||
gradle: | ||
if: "!contains(github.event.commits[0].message, '[skip ci]')" | ||
strategy: | ||
matrix: | ||
java: [21-jdk] | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: openjdk:${{ matrix.java }} | ||
options: --user root | ||
steps: | ||
- name: 'Clone Repo' | ||
uses: actions/checkout@v2 | ||
|
||
- name: 'Fix Gradle Wrapper' | ||
run: chmod +x gradlew | ||
|
||
- name: 'Validate Gradle Wrapper' | ||
uses: gradle/wrapper-validation-action@v1 | ||
|
||
- name: 'Build' | ||
run: ./gradlew build --stacktrace --warning-mode=fail | ||
#name: Compile | ||
#on: [] | ||
#jobs: | ||
# gradle: | ||
# if: "!contains(github.event.commits[0].message, '[skip ci]')" | ||
# strategy: | ||
# matrix: | ||
# java: [21-jdk] | ||
# runs-on: ubuntu-20.04 | ||
# container: | ||
# image: openjdk:${{ matrix.java }} | ||
# options: --user root | ||
# steps: | ||
# - name: 'Clone Repo' | ||
# uses: actions/checkout@v2 | ||
# | ||
# - name: 'Fix Gradle Wrapper' | ||
# run: chmod +x gradlew | ||
# | ||
# - name: 'Validate Gradle Wrapper' | ||
# uses: gradle/wrapper-validation-action@v1 | ||
# | ||
# - name: 'Build' | ||
# run: ./gradlew build --stacktrace --warning-mode=fail |