Skip to content

Commit aa7f8af

Browse files
authored
Update publish.yaml
1 parent d8b7d67 commit aa7f8af

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/workflows/publish.yaml

+13-12
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,28 @@ jobs:
2929
uses: actions/download-artifact@v3
3030
with:
3131
name: ${{ github.event.repository.name }}.vsix
32-
32+
33+
- name: Tag and Release
34+
id: tag_release
35+
uses: softprops/action-gh-release@v1
36+
with:
37+
body: Release ${{ env.VERSION }}
38+
tag_name: ${{ env.VERSION }}
39+
generate_release_notes: true
40+
files: |
41+
**/*.vsix
42+
3343
- name: Upload to VsixGallery
3444
uses: timheuer/openvsixpublish@v1
3545
with:
3646
vsix-file: ${{ github.event.repository.name }}.vsix
3747

3848
- name: Publish extension to Marketplace
3949
#if: ${{ contains(github.event.head_commit.message, '[release]') }}
50+
continue-on-error: true # remove after VS bug fix
4051
uses: cezarypiatek/[email protected]
4152
with:
4253
extension-file: '${{ github.event.repository.name }}.vsix'
4354
publish-manifest-file: 'vs-publish.json'
4455
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }}
45-
46-
- name: Tag and Release
47-
id: tag_release
48-
uses: softprops/action-gh-release@v1
49-
with:
50-
body: Release ${{ env.VERSION }}
51-
tag_name: ${{ env.VERSION }}
52-
generate_release_notes: true
53-
files: |
54-
**/*.vsix
55-
56+

0 commit comments

Comments
 (0)