File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Java CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ strategy :
8+ matrix :
9+ platform : [ubuntu-latest, macos-latest, windows-latest]
10+ runs-on : ${{ matrix.platform }}
11+
12+ steps :
13+ - name : Set up repository
14+ uses : actions/checkout@master
15+
16+ - name : Set up repository
17+ uses : actions/checkout@master
18+ with :
19+ ref : master
20+
21+ - name : Merge to master
22+ run : git checkout --progress --force ${{ github.sha }}
23+
24+ - name : Validate Gradle Wrapper
25+ uses : gradle/actions/wrapper-validation@v3
26+
27+ - name : Setup JDK 17
28+ uses : actions/setup-java@v4
29+ with :
30+ distribution : ' zulu'
31+ java-version : ' 17'
32+ java-package : jdk+fx
33+
34+ - name : Build and check with Gradle
35+ run : ./gradlew check
36+
37+ - name : Install dos2unix on Linux
38+ if : runner.os == 'Linux'
39+ run : sudo apt-get update && sudo apt-get install -y dos2unix
40+
41+ - name : Install dos2unix on macOS
42+ if : runner.os == 'macOS'
43+ run : brew install dos2unix
You can’t perform that action at this time.
0 commit comments