@@ -49,29 +49,22 @@ jobs:
4949
5050 - name : Create temp and bin directories
5151 run : |
52- mkdir -p temp/darwin temp/linux temp/win32
52+ mkdir -p temp/darwin temp/linux
5353 mkdir -p vscode-rescriptdep/bin/darwin
5454 mkdir -p vscode-rescriptdep/bin/linux
55- mkdir -p vscode-rescriptdep/bin/win32
5655
5756 - name : Download macOS CLI artifact
58- uses : actions/download-artifact@v3
57+ uses : actions/download-artifact@v4
5958 with :
6059 name : rescriptdep-darwin-x64-latest
6160 path : temp/darwin
6261
6362 - name : Download Linux CLI artifact
64- uses : actions/download-artifact@v3
63+ uses : actions/download-artifact@v4
6564 with :
6665 name : rescriptdep-linux-x64-latest
6766 path : temp/linux
6867
69- - name : Download Windows CLI artifact
70- uses : actions/download-artifact@v3
71- with :
72- name : rescriptdep-win32-x64-latest
73- path : temp/win32
74-
7568 - name : Extract CLI binaries and move to extension bin folders
7669 run : |
7770 # Extract macOS binary
8275 tar -xzf temp/linux/rescriptdep-linux-x64-latest.tar.gz -C temp/linux
8376 cp temp/linux/rescriptdep vscode-rescriptdep/bin/linux/
8477
85- # Extract Windows binary
86- unzip -j temp/win32/rescriptdep-win32-x64-latest.zip -d temp/win32
87- cp temp/win32/rescriptdep.exe vscode-rescriptdep/bin/win32/
88-
8978 - name : Set executable permissions
9079 run : |
9180 chmod +x vscode-rescriptdep/bin/darwin/rescriptdep
@@ -113,7 +102,7 @@ jobs:
113102 vsce package
114103
115104 - name : Upload VSIX as Artifact
116- uses : actions/upload-artifact@v3
105+ uses : actions/upload-artifact@v4
117106 with :
118107 name : vscode-rescriptdep-${{ steps.get_version.outputs.VERSION }}
119108 path : vscode-rescriptdep/vscode-rescriptdep-${{ steps.get_version.outputs.VERSION }}.vsix
@@ -138,7 +127,7 @@ jobs:
138127 echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
139128
140129 - name : Download VSIX Artifact
141- uses : actions/download-artifact@v3
130+ uses : actions/download-artifact@v4
142131 with :
143132 name : vscode-rescriptdep-${{ steps.get_version.outputs.VERSION }}
144133 path : ./
0 commit comments