File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : Build
2
2
3
3
on :
4
4
push :
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
15
- java-version : ['11 ', '21']
15
+ java-version : ['17 ', '21']
16
16
steps :
17
17
- uses : actions/checkout@v4
18
18
- name : Set up JDK ${{ matrix.java-version }}
@@ -25,11 +25,11 @@ jobs:
25
25
# ./**/*.gradle.kts
26
26
# ./gradle/wrapper/gradle-wrapper.properties
27
27
- name : Setup Gradle
28
- uses : gradle/actions/setup-gradle@v3
28
+ uses : gradle/actions/setup-gradle@v4
29
29
- name : Test
30
30
run : ./gradlew check -i --no-daemon
31
31
- name : Upload Results
32
- uses : actions/upload-artifact@v3
32
+ uses : actions/upload-artifact@v4
33
33
if : always() # This ensures that test results are uploaded even if the test step fails
34
34
with :
35
35
name : test-results
Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : Publish Release
2
2
3
3
on : workflow_dispatch
4
4
5
5
jobs :
6
6
publish-release :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v3
9
+ - uses : actions/checkout@v4
10
10
- name : Set up JDK 11
11
- uses : actions/setup-java@v3
11
+ uses : actions/setup-java@v4
12
12
with :
13
- java-version : 11
13
+ java-version : 17
14
14
distribution : ' temurin'
15
15
- name : Publish Snapshot
16
16
run : ./gradlew -PbuildRelease=true build publish --no-daemon -i
You can’t perform that action at this time.
0 commit comments