Skip to content

Commit

Permalink
Merge pull request #43 from FStarLang/releaselsp
Browse files Browse the repository at this point in the history
Release the LSP server.
  • Loading branch information
gebner authored May 13, 2024
2 parents be8db56 + 09cb529 commit 19fd8b1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,24 @@ jobs:
- name: Package
run: npx vsce package

- name: Package LSP server
run: cp server/out/main.js "fstar-language-server-$(jq -r .version package.json).js"

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: '*.vsix'
path: |
*.vsix
fstar-language-server-*.js
if-no-files-found: error

- name: Upload extension to github release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: '*.vsix'
files: |
*.vsix
fstar-language-server-*.js
fail_on_unmatched_files: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 19fd8b1

Please sign in to comment.