Skip to content

build(deps): bump the all-actions group with 3 updates (#131) #19

build(deps): bump the all-actions group with 3 updates (#131)

build(deps): bump the all-actions group with 3 updates (#131) #19

name: kusto-syntax-highlighting-publish
on:
push:
branches:
- master
paths:
- 'kusto-syntax-highlighting/**'
- '.github/workflows/kusto-syntax-highlighting-publish.yml'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: kusto-syntax-highlighting
steps:
- uses: actions/checkout@v4
- name: 'Automated Version Bump'
uses: ./.github/actions/gh-action-bump-version-master
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
PACKAGEJSON_DIR: 'kusto-syntax-highlighting'
with:
default: patch
tag-prefix: kusto-syntax-highlighting-v
# Don't push this commit, because we might not have latest master.
# We'll fetch, merge, and push at the end.
push: false
- run: npm ci
- name: Publish VS Code Extension
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
packagePath: ./kusto-syntax-highlighting
- name: Push version bump commit
uses: ./.github/actions/pull-rebase-then-push
with:
max-retries: 5
remote-name: origin
branch: master