Skip to content

vscode-extension: fix warning #82

vscode-extension: fix warning

vscode-extension: fix warning #82

Workflow file for this run

name: Gradle CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
strategy:
matrix:
java-version: ["8", "11", "17", "21"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: ${{ matrix.java-version }}
- name: Build language server with Gradle
run: ./gradlew build
- name: Build VSCode extension with Gradle
working-directory: vscode-extension
run: ./gradlew build
- uses: actions/upload-artifact@v4
if: ${{ matrix.java-version == '8' }}
with:
name: groovy-language-server
path: build/libs/groovy-language-server-all.jar
if-no-files-found: error
- uses: actions/upload-artifact@v4
if: ${{ matrix.java-version == '8' }}
with:
name: groovy-vscode-extension
path: vscode-extension/build/groovy-*.vsix
if-no-files-found: error