Skip to content

Commit

Permalink
Add release workflow that publishes to github
Browse files Browse the repository at this point in the history
  • Loading branch information
PEZ committed Nov 4, 2024
1 parent 98fdab1 commit 0299cb7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
File renamed without changes.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release VSIX

on:
push:
tags:
- 'v*.*.*'

jobs:
build:
uses: ./.github/workflows/build-vsix.yml

release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download VSIX Artifact
uses: actions/download-artifact@v4
with:
name: ${{ env.VSIX_NAME }}
path: .

- name: Release
uses: softprops/action-gh-release@v2
with:
files: ${{ env.VSIX_NAME }}

# - name: Publish to VS Code Marketplace
# run: npx vsce publish -p ${{ secrets.VSCE_TOKEN }}

# - name: Publish to Open VSX
# run: npx ovsx publish -p ${{ secrets.OVSX_TOKEN }}

0 comments on commit 0299cb7

Please sign in to comment.