LDEV-1402 switch env var prefix to LUCEE_DAP_ ( was LUCEE_DEBUGGER_ ) #2
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: Build LuceeDebug Agent | |
| on: [ push, pull_request, workflow_dispatch ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| cache: 'npm' | |
| cache-dependency-path: vscode-client/package-lock.json | |
| - name: Install vsce | |
| run: npm i -g @vscode/vsce | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'adopt' | |
| - name: Setup Gradle and Build LuceeDebug Java Agent | |
| uses: gradle/gradle-build-action@v2 | |
| with: | |
| arguments: shadowjar | |
| - name: Build LuceeDebug VS Code Extension | |
| run: | | |
| cd vscode-client | |
| npm install | |
| npm run build-dev-linux | |
| vsce package | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: luceedebug | |
| path: | | |
| luceedebug/vscode-client/*.vsix | |
| luceedebug/build/libs/*.jar |