61
61
- uses : actions/checkout@v4
62
62
- uses : graalvm/setup-graalvm@v1
63
63
with :
64
- version : ' 22.3.0'
65
- java-version : ' 11'
64
+ java-version : ' 17'
66
65
components : ' native-image'
66
+ distribution : ' graalvm-community'
67
67
github-token : ${{ secrets.GITHUB_TOKEN }}
68
68
# # uncomment me if you need native image job reports
69
69
# native-image-job-reports: 'true'
@@ -84,14 +84,10 @@ jobs:
84
84
- uses : actions/checkout@v4
85
85
with :
86
86
fetch-depth : 0
87
- - uses : graalvm /setup-graalvm@v1
87
+ - uses : actions /setup-java@v4
88
88
with :
89
- version : ' 22.3.0 '
89
+ distribution : ' temurin '
90
90
java-version : ' 11'
91
- components : ' native-image'
92
- github-token : ${{ secrets.GITHUB_TOKEN }}
93
- # # uncomment me if you need native image job reports
94
- # native-image-job-reports: 'true'
95
91
cache : ' maven'
96
92
- name : Build Server and Dialects Jars
97
93
working-directory : server
@@ -223,9 +219,9 @@ jobs:
223
219
- uses : graalvm/setup-graalvm@v1
224
220
if : matrix.os == 'ubuntu-latest' && matrix.arch == 'x64'
225
221
with :
226
- version : ' 22.3.0'
227
- java-version : ' 11'
222
+ java-version : ' 17'
228
223
components : ' native-image'
224
+ distribution : ' graalvm-community'
229
225
native-image-musl : ' true'
230
226
github-token : ${{ secrets.GITHUB_TOKEN }}
231
227
# # uncomment me if you need native image job reports
@@ -234,9 +230,9 @@ jobs:
234
230
- uses : graalvm/setup-graalvm@v1
235
231
if : matrix.os != 'ubuntu-latest' || matrix.arch != 'x64'
236
232
with :
237
- version : ' 22.3.0'
238
- java-version : ' 11'
233
+ java-version : ' 17'
239
234
components : ' native-image'
235
+ distribution : ' graalvm-community'
240
236
github-token : ${{ secrets.GITHUB_TOKEN }}
241
237
# # uncomment me if you need native image job reports
242
238
# native-image-job-reports: 'true'
@@ -332,9 +328,7 @@ jobs:
332
328
working-directory : clients/cobol-lsp-vscode-extension
333
329
if : startsWith( matrix.os, 'windows')
334
330
run : |
335
- cp ../../staging/${{ env.target }}/engine.build_artifacts.txt ./server/native
336
331
cp ../../staging/${{ env.target }}/engine.exe ./server/native
337
- cp ../../staging/${{ env.target }}/sunmscapi.dll ./server/native
338
332
cp ./server/native/* ../../tests/native-executable-tests/server/windows/
339
333
- name : Deploy macos executable
340
334
working-directory : clients/cobol-lsp-vscode-extension
0 commit comments