File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 4
4
workflow_dispatch :
5
5
push :
6
6
tags :
7
- - " release/** "
7
+ - ' v[0-9]+.[0-9]+.[0-9]+.[0-9]+ '
8
8
9
9
jobs :
10
10
publish :
11
11
runs-on : windows-latest
12
12
steps :
13
- - name : 1. Checkout
13
+ - name : Checkout
14
14
uses : actions/checkout@v3
15
15
16
- - name : 2 . Download artifact
16
+ - name : 1 . Download artifact
17
17
id : download-artifact
18
18
uses : dawidd6/action-download-artifact@v2
19
19
with :
20
20
github_token : ${{secrets.GH_SECRET}}
21
21
workflow : release_build_and_deploy.yml
22
22
workflow_conclusion : success
23
23
24
- - name : 3 . Publish Release to Marketplace
24
+ - name : 2 . Publish Release to Marketplace
25
25
uses : CodingWithCalvin/GHA-VSMarketplacePublisher@v1
26
26
with :
27
27
marketplace-pat : ${{ secrets.VS_PAT }}
28
28
publish-manifest-path : ./src/extension.manifest.json
29
29
vsix-path : ./artifact/CodingWithCalvin.SuperClean.Vsix.vsix
30
30
31
- - name : 4 . Create Release
31
+ - name : 3 . Create Release
32
32
33
33
with :
34
34
artifacts : ./artifact/CodingWithCalvin.SuperClean.Vsix.vsix
Original file line number Diff line number Diff line change @@ -2,11 +2,13 @@ name: 'Build and Deploy'
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ pull_request :
6
+ types : [opened, reopened]
5
7
push :
6
8
branches :
7
9
- main
8
10
tags-ignore :
9
- - " release/** "
11
+ - ' v[0-9]+.[0-9]+.[0-9]+.[0-9]+ '
10
12
11
13
jobs :
12
14
Release-Build-and-Deploy :
You can’t perform that action at this time.
0 commit comments