Skip to content

Commit 3a2d0fc

Browse files
committed
Fix test build JDK and ubuntu versions
1 parent 8ea664d commit 3a2d0fc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
vars:
88
name: Get Variables
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-20.04
1010
outputs:
1111
release_type: ${{steps.cf_release_type.outputs.value }}
1212
cf_project: ${{steps.cf_project.outputs.value }}
@@ -46,7 +46,7 @@ jobs:
4646

4747
changelog:
4848
name: Generate Changelog (tags)
49-
runs-on: ubuntu-latest
49+
runs-on: ubuntu-20.04
5050
steps:
5151
- name: Checkout
5252
uses: actions/checkout@v2
@@ -95,7 +95,7 @@ jobs:
9595

9696
jar:
9797
name: Publish JAR
98-
runs-on: ubuntu-latest
98+
runs-on: ubuntu-20.04
9999
needs: [vars, changelog]
100100
steps:
101101
- name: Download Changelog Results
@@ -107,10 +107,10 @@ jobs:
107107
- name: Checkout
108108
uses: actions/checkout@v2
109109

110-
- name: Set up JDK 1.8
110+
- name: Set up JDK
111111
uses: actions/setup-java@v1
112112
with:
113-
java-version: 1.8
113+
java-version: "8.0.282"
114114

115115
- name: Cache Gradle packages
116116
uses: actions/cache@v2
@@ -139,7 +139,7 @@ jobs:
139139
140140
view:
141141
name: View Changelog Output
142-
runs-on: ubuntu-latest
142+
runs-on: ubuntu-20.04
143143
needs: [changelog]
144144
steps:
145145
- name: Download Build Results

0 commit comments

Comments
 (0)