From aa7f8af0caa0460a4f1bbf50bf40934857e77291 Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Thu, 30 Nov 2023 13:01:11 -0800 Subject: [PATCH] Update publish.yaml --- .github/workflows/publish.yaml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 774af5e..2568f66 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -29,7 +29,17 @@ 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: @@ -37,19 +47,10 @@ jobs: - name: Publish extension to Marketplace #if: ${{ contains(github.event.head_commit.message, '[release]') }} + continue-on-error: true # remove after VS bug fix uses: cezarypiatek/VsixPublisherAction@1.0 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 - \ No newline at end of file +