Merge pull request #21 from joshmu/fix_permissions #13
This file contains 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 VSCode Extension | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm ci | |
- name: Set Executable Permissions for ripgrep | |
run: chmod +x ./node_modules/vscode-ripgrep/bin/rg | |
- name: Semantic Release | |
run: npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Add any other tokens or configuration required by semantic-release plugins | |
# - name: Install Visual Studio Marketplace CLI | |
# run: npm install -g vsce | |
# - name: Package & Publish Extension to Visual Studio Marketplace | |
# run: vsce publish --pat ${{ secrets.VS_MARKETPLACE_TOKEN }} | |
# - name: Install Open VSX CLI | |
# run: npm install -g ovsx | |
# - name: Package & Publish Extension to Open VSX Registry | |
# run: ovsx publish --pat ${{ secrets.OPEN_VSX_TOKEN }} |