Skip to content

Commit

Permalink
Adding publishing steps to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AnHeuermann committed Jul 5, 2024
1 parent cdb8150 commit b1f81d7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,20 @@ jobs:
name: metamodelica-language-server.vsix

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
metamodelica-language-server-*.vsix
fail_on_unmatched_files: true
generate_release_notes: true
append_body: true

- name: Publish to Visual Studio Marketplace
if: always()
run: |
npx vsce publish -i $(ls metamodelica-language-server-*.vsix) -p ${{ secrets.VSCE_PAT }}
- name: Publish to Open VSX
if: always()
run: |
npx ovsx publish $(ls metamodelica-language-server-*.vsix) -p ${{ secrets.OPEN_VSX_TOKEN }}
File renamed without changes
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"language-server"
],
"homepage": "https://github.com/OpenModelica/metamodelica-language-server",
"icon": "images/Modelica_Language_marging.jpg",
"icon": "images/Modelica_Language_margin.jpg",
"bugs": "https://github.com/OpenModelica/metamodelica-language-server/issues",
"engines": {
"vscode": "^1.75.0"
Expand Down

0 comments on commit b1f81d7

Please sign in to comment.