Skip to content

Commit

Permalink
chore: Release from CI with the marketplace environment (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated authored Aug 16, 2023
1 parent 7eb8a52 commit 1b26aeb
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,27 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
command: manifest

publish:
name: Publish plugin to Microsoft marketplace
needs: release-please
if: ${{ needs.release-please.outputs.tag-name }}
runs-on: ubuntu-latest
environment: marketplace
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "20"
check-latest: true

- name: Checkout project
uses: actions/checkout@v3

- name: Install dependencies
run: npm ci

- name: Publish it
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit 1b26aeb

Please sign in to comment.