Skip to content

Commit c6b51ea

Browse files
committed
Update publish.yml
1 parent 860834f commit c6b51ea

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,7 @@ jobs:
1919
- run: npm install -g gulp ovsx
2020
- run: gulp 'vsix:release:package'
2121

22-
- name: upload vsix artifact
23-
uses: actions/upload-artifact@v2
24-
with:
25-
name: extension
26-
path: ./*.vsix
27-
28-
- name: download vsix artifact
29-
uses: actions/download-artifact@v2
30-
with:
31-
name: extension.vsix
22+
- name: Get package version
23+
run: node -e "console.log('VERSION=' + require('./package.json').version)" >> $GITHUB_ENV
3224

33-
- run: ovsx publish ./extension.vsix -p ${{ secrets.OPEN_VSX_TOKEN }}
25+
- run: ovsx publish ./csharp-${{ env.VERSION }}.vsix -p ${{ secrets.OPEN_VSX_TOKEN }}

0 commit comments

Comments
 (0)