-
Notifications
You must be signed in to change notification settings - Fork 7
55 lines (43 loc) · 1.18 KB
/
patch.yaml
File metadata and controls
55 lines (43 loc) · 1.18 KB
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
53
54
55
on:
push:
branches:
- master
paths-ignore: # dont run when changes made to these folders
- '.vscode/**'
- 'sandbox/**'
- 'share/**'
- 'scripts/**'
jobs:
extension:
name: extension
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch
run: git fetch --prune --unshallow
- name: Setup node 16.x
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Setup yarn
run: npm i -g yarn
- name: Setup dependencies
run: yarn
- name: Combine markdowns
run: yarn md:concatenate
- name: Export version
id: version
run: echo "::set-output name=new::1.0.0"
- name: Use version
run: echo "${{steps.version.new}}"
# Update version number
- name: Build Sources
run: yarn extension:build
# - name: Compile VSIX
# run: yarn extension:pack
# - name: Upload artifact
# uses: actions/upload-artifact@v1
# with:
# name: vscode-git-commit-3.1.1.vsix
# path: ${{github.workspace}}/vscode-git-commit-3.1.1.vsix