Skip to content

Commit

Permalink
Merge branch 'interns/languageserver' of github.com:vespa-engine/vesp…
Browse files Browse the repository at this point in the history
…a into interns/languageserver
  • Loading branch information
Mangern committed Aug 8, 2024
2 parents d79c181 + c7ae629 commit 2329efc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@ on:
version:
type: choice
descirption: Which kind of release is this
required: true
options:
- major
- minor
- patch
push:
branches:
- interns/languageserver

jobs:

deploy:
lspDeploy:
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -27,10 +31,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
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ import { publishVSIX, createVSIX } from '@vscode/vsce';
import * as actions from '@actions/core';

async function publish(): Promise<void> {
const version = actions.getInput("version", { required: true });
let version = actions.getInput("version", { required: false, trimWhitespace: true });

if (version == "") {
version = "patch"
}


await createVSIX({
version: version
Expand Down

0 comments on commit 2329efc

Please sign in to comment.