Release 0.0.62 #36
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish LiquidJava Extension | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 20 | |
| distribution: temurin | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Build Server JAR | |
| working-directory: ./server | |
| run: | | |
| mvn -B -ntp clean package -DskipTests | |
| mkdir -p ../client/server | |
| cp target/language-server-liquidjava.jar ../client/server/ | |
| - name: Install dependencies and build | |
| working-directory: ./client | |
| run: | | |
| npm install | |
| npm run package | |
| - name: Install vsce | |
| run: npm install -g @vscode/vsce | |
| - name: Publish to VS Code Marketplace | |
| working-directory: ./client | |
| run: vsce publish -p ${{ secrets.VSCE_TOKEN }} | |
| - name: Publish to Open VSX Marketplace | |
| working-directory: ./client | |
| run: npx ovsx publish --pat ${{ secrets.OVSX_TOKEN }} |