Skip to content

Commit

Permalink
ci: update actions artifact version
Browse files Browse the repository at this point in the history
actions/upload-artifact@v3 and actions/download-artifact@v3 will be prohibited to use shortly. We have to switch to the next version.
  • Loading branch information
Settis committed Oct 3, 2024
1 parent 835feff commit 214b1c8
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Install dependencies for DaCo dialect
working-directory: clients/daco-dialect-support
run: NODE_ENV=production npm ci
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: clients-for-bd-scan
path: clients/**
Expand All @@ -72,7 +72,7 @@ jobs:
working-directory: server
run: mvn -e -B -Pnative -Dagent=true -Dtest=\!PositiveTest* -DfailIfNoTests=false test
- name: Upload native build configuration
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: warn
name: native-build-configuration
Expand All @@ -93,13 +93,13 @@ jobs:
working-directory: server
run: mvn clean verify --no-transfer-progress
- name: Upload performance data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: warn
name: test-perfomance-data
path: server/engine/target/perf.csv
- name: Upload jar files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jar
path: server/engine/target/server.jar
Expand All @@ -112,7 +112,7 @@ jobs:
npm ci
npm run compile
- name: Upload cobol dialect API library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lib
path: clients/cobol-dialect-api/lib/*
Expand All @@ -136,13 +136,13 @@ jobs:
npm run package
cp *.vsix ../../.
- name: Upload IDMS vsix
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: warn
name: vsix-idms-dialect
path: 'cobol-language-support-for-idms*.vsix'
- name: Upload DaCo vsix
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: warn
name: vsix-daco-dialect
Expand All @@ -169,7 +169,7 @@ jobs:
npm run package:web
cp *.vsix ../../.
- name: Upload Web vsix
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: warn
name: vsix-cobol-language-support-web
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
- uses: ilammy/msvc-dev-cmd@v1
if: matrix.os == 'windows-latest'
- name: Retrieve native build configurations
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: native-build-configuration
path: native-build-configuration
Expand All @@ -263,7 +263,7 @@ jobs:
run: mvn -e -B -Plinux-native -DskipTests clean package
- name: Prepare windows artifacts
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: staging-${{ env.target }}
path: |
Expand All @@ -273,7 +273,7 @@ jobs:
if-no-files-found: error
- name: Prepare non-windows artifacts
if: matrix.os != 'windows-latest'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: staging-${{ env.target }}
path: server/engine/target/engine
Expand Down Expand Up @@ -308,12 +308,12 @@ jobs:
run: echo "target=linux-${{ matrix.arch }}" >> $GITHUB_ENV
- uses: actions/checkout@v3
- name: Retrieve native build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: staging-${{ env.target }}
path: staging/${{ env.target }}
- name: Retrieve server jars
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: jar
path: jar
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
with:
node-version: 16
- name: Download VS Code extension dialect API
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lib
path: clients/cobol-dialect-api
Expand All @@ -365,13 +365,13 @@ jobs:
run: |
npm run package -- --target ${{ env.target }}
cp *.vsix ../../.
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
if-no-files-found: warn
name: vsix-cobol-language-support-${{ env.target }}
path: 'cobol-language-support*.vsix'
- name: Retrieve idms dialect
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: vsix-idms-dialect
path: dialects-idms
Expand All @@ -381,7 +381,7 @@ jobs:
unzip -j dialects-idms/*.vsix extension/server/jar/dialect-idms.jar -d clients/idms-dialect-support/server/jar
shell: bash
- name: Retrieve daco dialect
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: vsix-daco-dialect
path: dialects-daco
Expand Down

0 comments on commit 214b1c8

Please sign in to comment.