Merge pull request #603 from microsoft/vikas0212git-patch-1
Updated vscode.yml to extract the artifact .vsix.
This commit is contained in:
Коммит
fce0e0a765
|
@ -37,17 +37,19 @@ jobs:
|
|||
|
||||
- name: GitHub Release
|
||||
if: |
|
||||
success() ||
|
||||
success() &&
|
||||
startsWith(github.ref, 'refs/tags/')
|
||||
uses: xresloader/upload-to-github-release@v1
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: ./**/*.vsix
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
file: "*.vsix"
|
||||
tags: true
|
||||
|
||||
- name: Publish to Marketplace
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
if: |
|
||||
success() &&
|
||||
startsWith(github.ref, 'refs/tags/')
|
||||
run: 'vsce publish -p ${{ secrets.VSCE_TOKEN }} --packagePath *.vsix'
|
||||
|
||||
vscode_azure_iot_edge_Stage_MacOS:
|
||||
|
|
Загрузка…
Ссылка в новой задаче