Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
CalvinAllen authored May 13, 2024
1 parent 7f59930 commit 09f9127
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GH_SECRET}}
github_token: ${{ secrets.GH_SECRET }}
workflow: release_build_and_deploy.yml
workflow_conclusion: success

Expand All @@ -24,19 +24,22 @@ jobs:
with:
file_path: ./artifact/CodingWithCalvin.OpenBinFolder.info

- name: 3. Publish Release to Marketplace
uses: CodingWithCalvin/GHA-VSMarketplacePublisher@v1
with:
marketplace-pat: ${{ secrets.VS_PAT }}
publish-manifest-path: ./resources/extension.manifest.json
vsix-path: ./artifact/CodingWithCalvin.OpenBinFolder.vsix

- name: 4. Create Tag & Release
- name: 3. Create Tag & Release
uses: ncipollo/[email protected]
with:
artifacts: ./artifact/CodingWithCalvin.OpenBinFolder.vsix
generateReleaseNotes: true
makeLatest: true
token: ${{secrets.GH_SECRET}}
token: ${{ secrets.GH_SECRET }}
commit: ${{ steps.artifact_manifest.outputs.sha }}
tag: "v${{steps.artifact_manifest.outputs.version }}"
tag: ${{ steps.artifact_manifest.outputs.version }}

- name: 4. Publish Release to Marketplace
if: success()
uses: CodingWithCalvin/GHA-VSMarketplacePublisher@v1
with:
marketplace-pat: ${{ secrets.VS_PAT }}
publish-manifest-path: ./resources/extension.manifest.json
vsix-path: ./artifact/CodingWithCalvin.OpenBinFolder.vsix


0 comments on commit 09f9127

Please sign in to comment.