File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 5656 run : yarn test --silent
5757 - name : Package
5858 run : |
59- vsce package -o vscode-yaml-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}.vsix
60- sha256sum *.vsix > vscode-yaml-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}.vsix.sha256
59+ declare -A targets
60+ targets["win32-x64"]=win32
61+ targets["win32-arm64"]=win32
62+ targets["linux-x64"]=linux
63+ targets["linux-arm64"]=linux-arm64
64+ targets["darwin-x64"]=darwin
65+ targets["darwin-arm64"]=darwin
66+ for target in ${!targets[@]}; do
67+ export TARGET=${targets[${target}]}
68+ vsce package --target ${target} -o vscode-yaml-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}-${target}.vsix
69+ sha256sum *-${target}.vsix > vscode-yaml-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}-${target}.vsix.sha256
70+ done
6171 ls -lash *.vsix *.sha256
6272 - name : Upload VSIX Artifacts
6373 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments