File tree Expand file tree Collapse file tree 4 files changed +33
-19
lines changed
Expand file tree Collapse file tree 4 files changed +33
-19
lines changed Original file line number Diff line number Diff line change 11name : Gradle Tests and Nightly (CI)
22
3- on : push
3+ on :
4+ push :
5+ branches :
6+ - ' **'
7+ tags-ignore :
8+ - v*
9+ paths-ignore :
10+ - ' README.md'
11+ - LICENSE
412
513jobs :
614 vars :
@@ -35,10 +43,11 @@ jobs:
3543 - name : Checkout
3644 uses : actions/checkout@v2
3745
38- - name : Set up JDK 8
39- uses : actions/setup-java@v1
46+ - name : Set up JDK
47+ uses : actions/setup-java@v2
4048 with :
41- java-version : " 8.0.282"
49+ distribution : ' temurin'
50+ java-version : " 17"
4251
4352 - name : Cache Gradle packages
4453 uses : actions/cache@v2
@@ -66,10 +75,11 @@ jobs:
6675 - name : Checkout
6776 uses : actions/checkout@v2
6877
69- - name : Set up JDK 8
70- uses : actions/setup-java@v1
78+ - name : Set up JDK
79+ uses : actions/setup-java@v2
7180 with :
72- java-version : " 8.0.282"
81+ distribution : ' temurin'
82+ java-version : " 17"
7383
7484 - name : Cache Gradle packages
7585 uses : actions/cache@v2
Original file line number Diff line number Diff line change @@ -108,9 +108,10 @@ jobs:
108108 uses : actions/checkout@v2
109109
110110 - name : Set up JDK
111- uses : actions/setup-java@v1
111+ uses : actions/setup-java@v2
112112 with :
113- java-version : " 8.0.282"
113+ distribution : ' temurin'
114+ java-version : " 17"
114115
115116 - name : Grant execute permission for gradlew
116117 run : chmod +x gradlew
Original file line number Diff line number Diff line change @@ -108,10 +108,11 @@ jobs:
108108 - name : Checkout
109109 uses : actions/checkout@v2
110110
111- - name : Set up JDK 1.8
112- uses : actions/setup-java@v1
111+ - name : Set up JDK
112+ uses : actions/setup-java@v2
113113 with :
114- java-version : " 8.0.282"
114+ distribution : ' temurin'
115+ java-version : " 17"
115116
116117 - name : Grant execute permission for gradlew
117118 run : chmod +x gradlew
Original file line number Diff line number Diff line change @@ -110,10 +110,11 @@ jobs:
110110 - name : Checkout
111111 uses : actions/checkout@v2
112112
113- - name : Set up JDK 1.8
114- uses : actions/setup-java@v1
113+ - name : Set up JDK
114+ uses : actions/setup-java@v2
115115 with :
116- java-version : " 8.0.282"
116+ distribution : ' temurin'
117+ java-version : " 17"
117118
118119 - name : Grant execute permission for gradlew
119120 run : chmod +x gradlew
@@ -189,7 +190,7 @@ jobs:
189190 file_path : ${{ steps.filename.outputs.fullpath }}
190191 changelog : ${{ steps.changelog.outputs.changelog }}
191192 changelog_type : markdown
192- game_versions : java:Java 8 ,Forge
193+ game_versions : java:Java 17 ,Forge
193194 release_type : ${{ needs.vars.outputs.release_type }}
194195
195196 publishMaven :
@@ -200,10 +201,11 @@ jobs:
200201 - name : Checkout
201202 uses : actions/checkout@v2
202203
203- - name : Set up JDK 1.8
204- uses : actions/setup-java@v1
204+ - name : Set up JDK
205+ uses : actions/setup-java@v2
205206 with :
206- java-version : " 8.0.282"
207+ distribution : ' temurin'
208+ java-version : " 17"
207209
208210 - name : Build JAR with Gradle
209211 run : ./gradlew build --max-workers 1
You can’t perform that action at this time.
0 commit comments