forked from Wumpf/IncludeToolbox
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ jobs: | |
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ github.event.repository.name }}.vsix | ||
path: /_built/**/*2022.vsix | ||
path: /_built/**/*.vsix | ||
|
||
publish: | ||
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} | ||
|
@@ -65,10 +65,14 @@ jobs: | |
with: | ||
name: ${{ github.event.repository.name }}.vsix | ||
|
||
- name: Upload to Open VSIX | ||
- name: Upload 2022 to Open VSIX | ||
uses: timheuer/openvsixpublish@v1 | ||
with: | ||
vsix-file: ${{ github.event.repository.name }}.vsix | ||
vsix-file: ${{ github.event.repository.name }}2022.vsix | ||
- name: Upload 2019 to Open VSIX | ||
uses: timheuer/openvsixpublish@v1 | ||
with: | ||
vsix-file: ${{ github.event.repository.name }}2019.vsix | ||
|
||
- name: Tag and Release | ||
if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[release]') }} | ||
|
@@ -80,10 +84,18 @@ jobs: | |
files: | | ||
**/*.vsix | ||
- name: Publish extension to Marketplace | ||
- name: Publish 2022 extension to Marketplace | ||
if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[release]') }} | ||
uses: cezarypiatek/[email protected] | ||
with: | ||
extension-file: '${{ github.event.repository.name }}2022.vsix' | ||
publish-manifest-file: 'vs-publish.json' | ||
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }} | ||
|
||
- name: Publish 2019 extension to Marketplace | ||
if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[release]') }} | ||
uses: cezarypiatek/[email protected] | ||
with: | ||
extension-file: '${{ github.event.repository.name }}.vsix' | ||
extension-file: '${{ github.event.repository.name }}2019.vsix' | ||
publish-manifest-file: 'vs-publish.json' | ||
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }} |