Skip to content

Commit 99f3832

Browse files
authored
Update vsce-publish.yml
1 parent 96de9ad commit 99f3832

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/vsce-publish.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: NodeJS with Grunt
22

33
on:
44
push:
5-
#tags:
6-
# - '*'
7-
branches: ["master"]
5+
tags:
6+
- '*'
7+
#branches: ["master"]
88

99
jobs:
1010
publish:
@@ -33,8 +33,9 @@ jobs:
3333
run: npm run package
3434
working-directory: ${{env.cwd}}
3535

36-
- name: Upload a Build Artifact
37-
uses: actions/upload-artifact@v2.2.4
36+
- name: Create release
37+
uses: ncipollo/release-action@v1
3838
with:
39-
# A file, directory or wildcard pattern that describes what to upload
40-
path: ${{env.cwd}}/vsix/*.vsix
39+
artifacts: ${{env.cwd}}/vsix/*.vsix
40+
token: ${{secrets.GH_TOKEN}}
41+
draft: true

0 commit comments

Comments
 (0)