-
Notifications
You must be signed in to change notification settings - Fork 11
52 lines (44 loc) · 1.39 KB
/
kusto-extensions-pack-publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: kusto-extensions-pack-publish
on:
push:
branches:
- master
paths:
- 'kusto-extensions-pack/**'
- '.github/workflows/kusto-extensions-pack-publish.yml'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: kusto-extensions-pack
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-extensions-pack'
with:
default: patch
tag-prefix: kusto-extensions-pack-v
# Don't push this commit, because we might not have latest master.
# We'll fetch, merge, and push at the end.
push: false
- name: Publish VS Code Extension
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
packagePath: ./kusto-extensions-pack
- name: Push version bump commit
uses: ./.github/actions/pull-rebase-then-push
with:
max-retries: 5
remote-name: origin
branch: master