File tree Expand file tree Collapse file tree 1 file changed +13
-17
lines changed Expand file tree Collapse file tree 1 file changed +13
-17
lines changed Original file line number Diff line number Diff line change 1
1
name : Java CI with Gradle
2
2
on :
3
3
push :
4
- branches : [ " master" ]
4
+ branches : [ master ]
5
5
pull_request :
6
- branches : [ "master" ]
6
+ branches : [ master ]
7
+ workflow_dispatch :
7
8
8
9
jobs :
9
10
build :
10
11
runs-on : ubuntu-latest
11
- permissions :
12
- contents : read
13
12
14
13
steps :
15
- - uses : actions/checkout@v4
16
- - name : Set up JDK 21
17
- uses : actions/setup-java@v4
18
- with :
19
- java-version : 21
20
- distribution : temurin
21
- cache : gradle
14
+ - name : Checkout sources
15
+ uses : actions/checkout@v4
22
16
23
- # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
24
- # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
25
- - name : Setup Gradle
26
- uses : gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
17
+ - name : Set up JDK 21
18
+ uses : actions/setup-java@v4
19
+ with :
20
+ java-version : 21
21
+ distribution : temurin
22
+ cache : gradle
27
23
28
- - name : Build with Gradle Wrapper
29
- run : ./gradlew build
24
+ - name : Build with Gradle Wrapper
25
+ run : ./gradlew build
You can’t perform that action at this time.
0 commit comments