Skip to content

Commit 214b1c8

Browse files
committed
ci: update actions artifact version
actions/upload-artifact@v3 and actions/download-artifact@v3 will be prohibited to use shortly. We have to switch to the next version.
1 parent 835feff commit 214b1c8

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/build.yml

+17-17
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Install dependencies for DaCo dialect
5050
working-directory: clients/daco-dialect-support
5151
run: NODE_ENV=production npm ci
52-
- uses: actions/upload-artifact@v3
52+
- uses: actions/upload-artifact@v4
5353
with:
5454
name: clients-for-bd-scan
5555
path: clients/**
@@ -72,7 +72,7 @@ jobs:
7272
working-directory: server
7373
run: mvn -e -B -Pnative -Dagent=true -Dtest=\!PositiveTest* -DfailIfNoTests=false test
7474
- name: Upload native build configuration
75-
uses: actions/upload-artifact@v3
75+
uses: actions/upload-artifact@v4
7676
with:
7777
if-no-files-found: warn
7878
name: native-build-configuration
@@ -93,13 +93,13 @@ jobs:
9393
working-directory: server
9494
run: mvn clean verify --no-transfer-progress
9595
- name: Upload performance data
96-
uses: actions/upload-artifact@v3
96+
uses: actions/upload-artifact@v4
9797
with:
9898
if-no-files-found: warn
9999
name: test-perfomance-data
100100
path: server/engine/target/perf.csv
101101
- name: Upload jar files
102-
uses: actions/upload-artifact@v3
102+
uses: actions/upload-artifact@v4
103103
with:
104104
name: jar
105105
path: server/engine/target/server.jar
@@ -112,7 +112,7 @@ jobs:
112112
npm ci
113113
npm run compile
114114
- name: Upload cobol dialect API library
115-
uses: actions/upload-artifact@v3
115+
uses: actions/upload-artifact@v4
116116
with:
117117
name: lib
118118
path: clients/cobol-dialect-api/lib/*
@@ -136,13 +136,13 @@ jobs:
136136
npm run package
137137
cp *.vsix ../../.
138138
- name: Upload IDMS vsix
139-
uses: actions/upload-artifact@v3
139+
uses: actions/upload-artifact@v4
140140
with:
141141
if-no-files-found: warn
142142
name: vsix-idms-dialect
143143
path: 'cobol-language-support-for-idms*.vsix'
144144
- name: Upload DaCo vsix
145-
uses: actions/upload-artifact@v3
145+
uses: actions/upload-artifact@v4
146146
with:
147147
if-no-files-found: warn
148148
name: vsix-daco-dialect
@@ -169,7 +169,7 @@ jobs:
169169
npm run package:web
170170
cp *.vsix ../../.
171171
- name: Upload Web vsix
172-
uses: actions/upload-artifact@v3
172+
uses: actions/upload-artifact@v4
173173
with:
174174
if-no-files-found: warn
175175
name: vsix-cobol-language-support-web
@@ -240,7 +240,7 @@ jobs:
240240
- uses: ilammy/msvc-dev-cmd@v1
241241
if: matrix.os == 'windows-latest'
242242
- name: Retrieve native build configurations
243-
uses: actions/download-artifact@v3
243+
uses: actions/download-artifact@v4
244244
with:
245245
name: native-build-configuration
246246
path: native-build-configuration
@@ -263,7 +263,7 @@ jobs:
263263
run: mvn -e -B -Plinux-native -DskipTests clean package
264264
- name: Prepare windows artifacts
265265
if: matrix.os == 'windows-latest'
266-
uses: actions/upload-artifact@v3
266+
uses: actions/upload-artifact@v4
267267
with:
268268
name: staging-${{ env.target }}
269269
path: |
@@ -273,7 +273,7 @@ jobs:
273273
if-no-files-found: error
274274
- name: Prepare non-windows artifacts
275275
if: matrix.os != 'windows-latest'
276-
uses: actions/upload-artifact@v3
276+
uses: actions/upload-artifact@v4
277277
with:
278278
name: staging-${{ env.target }}
279279
path: server/engine/target/engine
@@ -308,12 +308,12 @@ jobs:
308308
run: echo "target=linux-${{ matrix.arch }}" >> $GITHUB_ENV
309309
- uses: actions/checkout@v3
310310
- name: Retrieve native build
311-
uses: actions/download-artifact@v3
311+
uses: actions/download-artifact@v4
312312
with:
313313
name: staging-${{ env.target }}
314314
path: staging/${{ env.target }}
315315
- name: Retrieve server jars
316-
uses: actions/download-artifact@v3
316+
uses: actions/download-artifact@v4
317317
with:
318318
name: jar
319319
path: jar
@@ -348,7 +348,7 @@ jobs:
348348
with:
349349
node-version: 16
350350
- name: Download VS Code extension dialect API
351-
uses: actions/download-artifact@v3
351+
uses: actions/download-artifact@v4
352352
with:
353353
name: lib
354354
path: clients/cobol-dialect-api
@@ -365,13 +365,13 @@ jobs:
365365
run: |
366366
npm run package -- --target ${{ env.target }}
367367
cp *.vsix ../../.
368-
- uses: actions/upload-artifact@v3
368+
- uses: actions/upload-artifact@v4
369369
with:
370370
if-no-files-found: warn
371371
name: vsix-cobol-language-support-${{ env.target }}
372372
path: 'cobol-language-support*.vsix'
373373
- name: Retrieve idms dialect
374-
uses: actions/download-artifact@v3
374+
uses: actions/download-artifact@v4
375375
with:
376376
name: vsix-idms-dialect
377377
path: dialects-idms
@@ -381,7 +381,7 @@ jobs:
381381
unzip -j dialects-idms/*.vsix extension/server/jar/dialect-idms.jar -d clients/idms-dialect-support/server/jar
382382
shell: bash
383383
- name: Retrieve daco dialect
384-
uses: actions/download-artifact@v3
384+
uses: actions/download-artifact@v4
385385
with:
386386
name: vsix-daco-dialect
387387
path: dialects-daco

0 commit comments

Comments
 (0)