From fdd8b2fcccc25dd481a7d54e5057c6a5c8531b80 Mon Sep 17 00:00:00 2001 From: Theodor Kvalsvik Lauritzen Date: Thu, 8 Aug 2024 13:08:36 +0200 Subject: [PATCH] chore: update github action ot deploy vscode extension --- .github/workflows/lspDeploy.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lspDeploy.yml b/.github/workflows/lspDeploy.yml index e9db4f204781..9961bb8698e1 100644 --- a/.github/workflows/lspDeploy.yml +++ b/.github/workflows/lspDeploy.yml @@ -6,10 +6,16 @@ on: version: type: choice descirption: Which kind of release is this + required: true options: - major - minor - patch + push: + branches: + - interns/languageserver + inputs: + version: patch jobs: @@ -27,10 +33,11 @@ jobs: distribution: 'temurin' cache: maven - - run: export MAVEN_OPTS="-Xms128m -Xmx1024m" - - run: ./bootstrap.sh java - working-directory: ./ - - run: mvn install --threads 1C + - name: Build Vespa + run: | + export MAVEN_OPTS="-Xms128m -Xmx1024m" + ./bootstrap.sh java + mvn install --threads 1C working-directory: ./ - uses: actions/setup-node@v4