Skip to content

Commit c7aec31

Browse files
authored
Update publish.yml
[skip ci]
1 parent ec3b949 commit c7aec31

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ jobs:
3333
token: ${{ secrets.GH_SECRET }}
3434
commit: ${{ steps.artifact_manifest.outputs.sha }}
3535
tag: ${{ steps.artifact_manifest.outputs.version }}
36+
37+
- name: 4. Publish Release to OpenVSIX Gallery
38+
if: success()
39+
shell: pwsh
40+
run: |
41+
$repoUrl = ${{ github.server_url }}/${{ github.repository }}
42+
$issuesUrl = $repo + "/issues"
43+
$readmeUrl = "https://raw.githubusercontent.com/${{ github.repository }}/main/README.md"
44+
45+
https://www.vsixgallery.com/api/upload?repo=" + $repoUrl + "&issuetracker=" + $issuesUrl + "&readmeUrl=" + $readmeUrl
3646
3747
- name: 4. Publish Release to Marketplace
3848
if: success()
@@ -41,5 +51,3 @@ jobs:
4151
marketplace-pat: ${{ secrets.VS_PAT }}
4252
publish-manifest-path: ./resources/extension.manifest.json
4353
vsix-path: ./artifact/CodingWithCalvin.WebcamStudio.vsix
44-
45-

0 commit comments

Comments
 (0)