File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build
2-
3- on :
4- push :
5- branches : [ master, staging, stable ]
6- merge_group :
7- pull_request :
8- types : [ opened, reopened, synchronize, ready_for_review ]
9- branches : [ master, staging, stable ]
2+ on : [pull_request, push]
103
114jobs :
125 build :
13- if : github.event.pull_request.draft == false
14- strategy :
15- matrix :
16- os : [ ubuntu-latest ]
17- runs-on : ${{ matrix.os }}
6+ runs-on : ubuntu-latest
187 steps :
19- - name : checkout branch
8+ - name : checkout repository
209 uses : actions/checkout@v4
21-
2210 - name : validate gradle wrapper
2311 uses : gradle/actions/wrapper-validation@v4
24-
2512 - name : setup jdk
2613 uses : actions/setup-java@v4
2714 with :
2815 java-version : ' 17'
2916 distribution : ' microsoft'
30-
3117 - name : make gradle wrapper executable
3218 run : chmod +x ./gradlew
33-
3419 - name : build
35- run : ./gradlew build
36-
37- ci-success :
38- name : Build
39- needs :
40- - build
41- runs-on : ubuntu-latest
42- steps :
43- - name : CI succeeded
44- run : exit 0
20+ run : ./gradlew build
You can’t perform that action at this time.
0 commit comments