Skip to content

Commit

Permalink
Added VSIX release action
Browse files Browse the repository at this point in the history
  • Loading branch information
AsriFox committed Dec 2, 2023
1 parent 9e20dc3 commit 00544a8
Show file tree
Hide file tree
Showing 3 changed files with 2,044 additions and 5 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release VSIX package

on:
release:
types: [published]

jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/setup-node@v4.0.0
with:
node-version: '18.x'
- run: npm ci
- run: npx vsce pack
- run: echo "name=$(ls | grep vsix | sort | tail -n 1)" >> $GITHUB_OUTPUT
id: identify-package
- uses: Shopify/upload-to-release@v2.0.0
with:
name: ${{steps.identify-package.outputs.name}}
path: ${{steps.identify-package.outputs.name}}
repo-token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 00544a8

Please sign in to comment.