Skip to content

Commit

Permalink
Update publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
timheuer authored Nov 30, 2023
1 parent d8b7d67 commit aa7f8af
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,28 @@ jobs:
uses: actions/download-artifact@v3
with:
name: ${{ github.event.repository.name }}.vsix


- name: Tag and Release
id: tag_release
uses: softprops/action-gh-release@v1
with:
body: Release ${{ env.VERSION }}
tag_name: ${{ env.VERSION }}
generate_release_notes: true
files: |
**/*.vsix
- name: Upload to VsixGallery
uses: timheuer/openvsixpublish@v1
with:
vsix-file: ${{ github.event.repository.name }}.vsix

- name: Publish extension to Marketplace
#if: ${{ contains(github.event.head_commit.message, '[release]') }}
continue-on-error: true # remove after VS bug fix
uses: cezarypiatek/[email protected]
with:
extension-file: '${{ github.event.repository.name }}.vsix'
publish-manifest-file: 'vs-publish.json'
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }}

- name: Tag and Release
id: tag_release
uses: softprops/action-gh-release@v1
with:
body: Release ${{ env.VERSION }}
tag_name: ${{ env.VERSION }}
generate_release_notes: true
files: |
**/*.vsix

0 comments on commit aa7f8af

Please sign in to comment.