Skip to content

Commit

Permalink
Open VSX release workflow (#8)
Browse files Browse the repository at this point in the history
ovsx tool has been added a developer dependency and
scripts were renamed to allow deployment to both repositories.
Release workflow has been extended with a new job to publish
to Open VSX
  • Loading branch information
c4deszes authored Nov 10, 2021
1 parent 1f5f0d0 commit f116850
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 114 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
types: [published]

jobs:
release:
release-vsce:
name: Release on VS Marketplace
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -19,7 +20,27 @@ jobs:
- name: Install
run: npm install

- name: Deploy
run: npm run deploy
- name: Deploy using VSCE
run: npm run deploy-vsce
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

release-ovsx:
name: Release on Open VSX
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x

- name: Install
run: npm install

- name: Deploy using OVSX
run: npm run deploy-ovsx
env:
OVSX_PAT: ${{ secrets.OVSX_PAT }}
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

![GitHub last commit](https://img.shields.io/github/last-commit/c4deszes/ldfsyntax)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/c4deszes.ldf-syntax)](https://marketplace.visualstudio.com/items?itemName=c4deszes.ldf-syntax)
![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/i/c4deszes.ldf-syntax)

> ldfsyntax adds LIN Description File language support to Visual Studio Code
Expand All @@ -23,6 +25,28 @@ __TODO__: insert animation of snippet usage

## Known Issues

+ Schedule tables are not highlighted

+ Certain LIN 1.3 standard sections are not highlighted

## Helpful links for development

+ [LIN 2.2A Specification](https://www.cs-group.de/wp-content/uploads/2016/11/LIN_Specification_Package_2.2A.pdf)

+ [Syntax highlighting](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide)

+ [Semantic highlighting](https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide)

+ [TextMate grammars](https://macromates.com/manual/en/language_grammars)

+ [Language configuration](https://code.visualstudio.com/api/language-extensions/language-configuration-guide)

+ [Extension Testing](https://developers.redhat.com/blog/2019/11/18/new-tools-for-automating-end-to-end-tests-for-vs-code-extensions)

+ [Token color testing example](https://github.com/styled-components/vscode-styled-components/blob/master/src/tests/suite/colorization.test.js)

+ [Document symbol provider example](https://github.com/svaberg/SWMF-grammar/blob/master/src/extension.ts)

---

## License
Expand Down
Loading

0 comments on commit f116850

Please sign in to comment.