Skip to content

Commit

Permalink
Added publishing step
Browse files Browse the repository at this point in the history
mfoulks3200 committed Dec 19, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 38ed75a commit a95f14e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -17,3 +17,24 @@ jobs:
run: npm i -g vsce
- name: Package Extension
run: vsce package
- name: Archive Build Artifacts
uses: actions/upload-artifact@v3
with:
path: |
*.vsix
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
run: vsce publish
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- name: Create Release
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

0 comments on commit a95f14e

Please sign in to comment.