Skip to content

Create Release

Create Release #3

name: Create Release
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- name: Create Conventional Changelog
id: changelog
uses: TriPSs/[email protected]
with:
github-token: ${{ secrets.GH_TOKEN }}
- name: Create Release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
- name: Install dependencies
run: npm install
- name: Publish
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.AZURE_DEVOPS_MARKETPLACE_TOKEN }}