File tree Expand file tree Collapse file tree 2 files changed +8
-24
lines changed Expand file tree Collapse file tree 2 files changed +8
-24
lines changed Original file line number Diff line number Diff line change 1
- name : Gradle Package
1
+ name : Build & Upload
2
2
3
3
on :
4
- release :
5
- types : [ created ]
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
6
8
7
9
jobs :
8
10
build :
@@ -12,15 +14,12 @@ jobs:
12
14
packages : write
13
15
14
16
steps :
15
- - uses : actions/checkout@v3
16
-
17
+ - uses : actions/checkout@v4
17
18
- name : Set up JDK 21
18
- uses : actions/setup-java@v3
19
+ uses : actions/setup-java@v4
19
20
with :
20
21
java-version : ' 21'
21
- distribution : ' adopt'
22
- server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
23
- settings-path : ${{ github.workspace }} # location for the settings.xml file
22
+ distribution : ' temurin'
24
23
25
24
- name : Build with Gradle
26
25
run : chmod +x gradlew && ./gradlew build
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments