Publish VSIX #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish VSIX | |
| on: | |
| push: | |
| tags: | |
| - '*.*.*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| package: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up git repository | |
| uses: actions/checkout@v4 | |
| - name: Install vsce | |
| run: npm install --location=global vsce | |
| - name: Install requirements | |
| run: npm install | |
| - name: Package extension | |
| run: | | |
| mkdir out | |
| vsce package --out out/paperpc-syntax.vsix | |
| - name: Release | |
| uses: softprops/action-gh-release@v2.3.2 | |
| with: | |
| files: out/paperpc-syntax.vsix | |
| token: ${{ secrets.GITHUB_TOKEN }} |