-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed support for Visual Studio 2019.
- Loading branch information
Showing
7 changed files
with
71 additions
and
28 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 |
---|---|---|
|
@@ -3,7 +3,8 @@ name: Continuous Integration | |
on: | ||
push: | ||
branches: | ||
- master | ||
- "**" | ||
|
||
tags-ignore: | ||
- "**" | ||
|
||
|
@@ -12,7 +13,7 @@ on: | |
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
runs-on: windows-2022 | ||
|
||
env: | ||
Configuration: Release | ||
|
@@ -24,8 +25,6 @@ jobs: | |
|
||
- name: Setup MSBuild | ||
uses: microsoft/[email protected] | ||
with: | ||
vs-version: "[16.9,16.10)" | ||
|
||
- name: Build | ||
run: msbuild /t:Rebuild /Restore /v:Minimal | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
|
||
jobs: | ||
publish: | ||
runs-on: windows-latest | ||
runs-on: windows-2022 | ||
|
||
env: | ||
Configuration: Release | ||
|
@@ -18,18 +18,6 @@ jobs: | |
|
||
- name: Setup MSBuild | ||
uses: microsoft/[email protected] | ||
with: | ||
vs-version: "[16.9,16.10)" | ||
|
||
- name: Build | ||
run: msbuild /t:Rebuild /Restore /v:Minimal | ||
|
||
- name: Test | ||
run: msbuild tests/ProjectFilter.UnitTests /t:Test /v:Minimal | ||
|
||
- name: Publish | ||
uses: cezarypiatek/[email protected] | ||
with: | ||
extension-file: source\ProjectFilter\bin\Release\ProjectFilter.vsix | ||
publish-manifest-file: publish.json | ||
personal-access-code: ${{ secrets.PUBLISHER_TOKEN }} | ||
run: msbuild source/ProjectFilter/ProjectFilter.csproj /t:PublishToMarketplace /Restore /v:Minimal /p:PersonalAccessToken=${{ secrets.PUBLISHER_TOKEN }} |
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
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<Project> | ||
<ItemGroup> | ||
<PackageReference Update="Microsoft.VSSDK.BuildTools"> | ||
<GeneratePathProperty>true</GeneratePathProperty> | ||
</PackageReference> | ||
</ItemGroup> | ||
|
||
<Target Name="PublishToMarketplace" DependsOnTargets="Rebuild"> | ||
<Message Text="Publishing extension to the marketplace..." Importance="high"/> | ||
|
||
<Error | ||
Condition="'$(Configuration)' != 'Release'" | ||
Text="The configuration must be 'Release' when publishing to the marketplace." | ||
/> | ||
|
||
<PropertyGroup> | ||
<VsixPublisher>$(PkgMicrosoft_VSSDK_BuildTools)\tools\vssdk\bin\VsixPublisher.exe</VsixPublisher> | ||
<PublishManifestFileName>$(MSBuildThisFileDirectory)..\publish.json</PublishManifestFileName> | ||
<ExtensionFileName>$(ProjectDir)$(TargetVsixContainer)</ExtensionFileName> | ||
</PropertyGroup> | ||
|
||
<Exec | ||
Command="$(VsixPublisher) publish -personalAccessToken $(PersonalAccessToken) -payload $(ExtensionFileName) -publishManifest $(PublishManifestFileName)" | ||
StandardOutputImportance="high" | ||
StandardErrorImportance="high" | ||
LogStandardErrorAsError="true" | ||
/> | ||
|
||
<Message Text="Finished publishing." Importance="high"/> | ||
</Target> | ||
</Project> |
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
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