File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,44 +14,21 @@ jobs:
1414 runs-on : ubuntu-latest
1515
1616 steps :
17- - name : Checkout
18- uses : actions/checkout@v4
19-
20- - name : Setup Java
21- uses : actions/setup-java@v4
17+ - name : Download checked extension
18+ uses : actions/download-artifact@v4
2219 with :
23- java-version : 21
24- distribution : temurin
20+ name : liquid-java-vsix
2521
2622 - name : Setup Node.js
2723 uses : actions/setup-node@v4
2824 with :
2925 node-version : 22
3026
31- - name : Build Server JAR
32- working-directory : ./server
33- run : |
34- mvn -B -ntp clean package -DskipTests
35- mkdir -p ../client/server
36- cp target/language-server-liquidjava.jar ../client/server/
37-
38- - name : Install dependencies and build
39- working-directory : ./client
40- run : |
41- npm install
42- npm run package
43-
4427 - name : Install vsce
4528 run : npm install -g @vscode/vsce
4629
47- - name : Package extension
48- working-directory : ./client
49- run : vsce package --no-dependencies --out liquid-java.vsix
50-
5130 - name : Publish to VS Code Marketplace
52- working-directory : ./client
5331 run : vsce publish --packagePath liquid-java.vsix -p ${{ secrets.VSCE_TOKEN }}
5432
5533 - name : Publish to Open VSX Marketplace
56- working-directory : ./client
5734 run : npx ovsx publish liquid-java.vsix --pat ${{ secrets.OVSX_TOKEN }}
Original file line number Diff line number Diff line change 6363 unzip -Z1 liquid-java.vsix > /tmp/liquid-java-vsix-files.txt
6464 grep -Fx 'extension/dist/server/language-server-liquidjava.jar' /tmp/liquid-java-vsix-files.txt
6565 grep -Fx 'extension/media/webview.js' /tmp/liquid-java-vsix-files.txt
66+
67+ - name : Upload checked extension
68+ uses : actions/upload-artifact@v4
69+ with :
70+ name : liquid-java-vsix
71+ path : client/liquid-java.vsix
72+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments