1515 name : Build .deb files for arm & intel
1616 runs-on : ubuntu-22.04
1717 steps :
18- - uses : actions/checkout@v3
18+ - uses : actions/checkout@v4
1919 - name : Get Git History
2020 run : git fetch --unshallow --filter=blob:none --tags --force
2121 - name : Set Version
@@ -27,25 +27,31 @@ jobs:
2727 else
2828 echo "version=$(git describe --tags --long --match 'v*')" >> $GITHUB_OUTPUT
2929 fi
30- - uses : actions/setup-node@v3
30+ - uses : actions/setup-node@v4
3131 with :
3232 node-version : ' 20'
3333 - run : |
3434 sudo apt update && sudo apt install p7zip-full nsis
3535 CLI_VERSION=${{ steps.set-version.outputs.version }} node cli/.ci/set-package-vars.js
3636 CI_CD_BUILD=1 cli/.ci/package.sh
37- - name : Archive artifacts
38- uses : actions/upload-artifact@v3
37+ - name : Archive Linux artifacts
38+ uses : actions/upload-artifact@v4
3939 with :
4040 name : Linux
4141 path : |
42- cli/tmp/artifacts
42+ cli/tmp/artifacts/linux
43+ - name : Archive Windows artifacts
44+ uses : actions/upload-artifact@v4
45+ with :
46+ name : Windows
47+ path : |
48+ cli/tmp/artifacts/windows
4349
4450 build-on-macos :
4551 name : Build, sign and notarize .pkg files for Mac
4652 runs-on : macos-14
4753 steps :
48- - uses : actions/checkout@v3
54+ - uses : actions/checkout@v4
4955 - name : Get Git History
5056 run : git fetch --unshallow --filter=blob:none --tags --force
5157 - name : Set Version
5763 else
5864 echo "version=$(git describe --tags --long --match 'v*')" >> $GITHUB_OUTPUT
5965 fi
60- - uses : actions/setup-node@v3
66+ - uses : actions/setup-node@v4
6167 with :
6268 node-version : ' 20'
6369 - name : Install the Apple certificate and provisioning profile
@@ -106,7 +112,7 @@ jobs:
106112 security delete-keychain $RUNNER_TEMP/app-signing.keychain-db
107113
108114 - name : Archive Artifacts
109- uses : actions/upload-artifact@v3
115+ uses : actions/upload-artifact@v4
110116 with :
111117 name : MacOS
112118 path : |
0 commit comments