-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #195 from WildernessLabs/dominique-UpdateCI
Update all the CI versions.
- Loading branch information
Showing
5 changed files
with
17 additions
and
78 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: VS4Win Extension | ||
env: | ||
IDE_TOOLS_RELEASE_VERSION: 1.9.9 | ||
IDE_TOOLS_RELEASE_VERSION: 1.9.9.1 | ||
|
||
on: | ||
push: | ||
|
@@ -11,110 +11,45 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
# build-2019: | ||
# runs-on: windows-2019 | ||
# name: Build VS2019 Extension | ||
|
||
# steps: | ||
# - name: Checkout current repo | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# path: main | ||
|
||
# - if: ${{ github.ref == 'refs/heads/main' }} | ||
# name: Checkout Meadow.CLI.Core side-by-side | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# repository: WildernessLabs/Meadow.CLI | ||
# path: Meadow.CLI | ||
# ref: main | ||
|
||
# - if: ${{ github.ref != 'refs/heads/main' }} | ||
# name: Checkout Meadow.CLI.Core side-by-side | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# repository: WildernessLabs/Meadow.CLI | ||
# path: Meadow.CLI | ||
# ref: develop | ||
|
||
# - name: Setup .NET Core SDK 5.0.x and 6.0.x | ||
# uses: actions/setup-dotnet@v1 | ||
# with: | ||
# dotnet-version: | | ||
# 5.0.x | ||
# 6.0.x | ||
|
||
# - name: Setup NuGet | ||
# uses: NuGet/[email protected] | ||
|
||
# - name: Add MSBuild to Path | ||
# uses: microsoft/[email protected] | ||
|
||
# - if: ${{ github.event_name == 'workflow_dispatch' }} | ||
# name: Update VS2019 Version Numbers | ||
# run: | | ||
# $content = Get-Content main/VS_Meadow_Extension/VS_Meadow_Extension.2019/source.extension.vsixmanifest | Out-String | ||
# $newcontent = $content -replace 'Version="1.*" Language="en-US" Publisher="Wilderness Labs"', 'Version="${{ ENV.IDE_TOOLS_RELEASE_VERSION }}" Language="en-US" Publisher="Wilderness Labs"' | ||
# $newcontent | Set-Content main/VS_Meadow_Extension/VS_Meadow_Extension.2019/source.extension.vsixmanifest | ||
|
||
# - name: Restore VS2019 dependencies | ||
# run: msbuild main/VS_Meadow_Extension.2019.sln /t:Restore /p:Configuration=Release | ||
|
||
# - name: Build VS2019 Extension | ||
# id: VS2019-Extension | ||
# run: msbuild main/VS_Meadow_Extension.2019.sln /t:Rebuild /p:Configuration=Release | ||
# env: | ||
# DevEnvDir: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE' | ||
|
||
# - name: Upload VSIX Artifacts | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: Meadow.Win.VS2019.vsix.${{ ENV.IDE_TOOLS_RELEASE_VERSION }} | ||
# path: 'main\VS_Meadow_Extension\VS_Meadow_Extension.2019\bin\Release\*.vsix' | ||
|
||
# - if: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' }} | ||
# name: Publish VS2019 Extension | ||
# run: | | ||
# & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Enterprise\VSSDK\VisualStudioIntegration\Tools\Bin\VsixPublisher.exe" publish -payload "main\VS_Meadow_Extension\VS_Meadow_Extension.2019\bin\Release\Meadow.2019.vsix" -publishManifest "main\publishManifest.json" -ignoreWarnings "VSIXValidatorWarning01,VSIXValidatorWarning02" -personalAccessToken "${{secrets.MARKETPLACE_PUBLISH_PAT}}" | ||
|
||
build-2022: | ||
runs-on: windows-2022 | ||
name: Build VS2022 Extension | ||
|
||
steps: | ||
- name: Checkout current repo | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
with: | ||
path: main | ||
|
||
- if: ${{ github.ref == 'refs/heads/main' }} | ||
name: Checkout Meadow.CLI.Core side-by-side | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: WildernessLabs/Meadow.CLI | ||
path: Meadow.CLI | ||
ref: main | ||
|
||
- if: ${{ github.ref != 'refs/heads/main' }} | ||
name: Checkout Meadow.CLI.Core side-by-side | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: WildernessLabs/Meadow.CLI | ||
path: Meadow.CLI | ||
ref: develop | ||
|
||
- name: Setup .NET Core SDK 5.0.x and 6.0.x | ||
uses: actions/setup-dotnet@v1 | ||
- name: Setup .NET Core SDK | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
8.0.x | ||
- name: Setup NuGet | ||
uses: NuGet/setup-nuget@v1.0.5 | ||
uses: NuGet/setup-nuget@v2 | ||
|
||
- name: Add MSBuild to Path | ||
uses: microsoft/setup-msbuild@v1.1 | ||
uses: microsoft/setup-msbuild@v2 | ||
with: | ||
vs-version: '[17.0, 18.0)' | ||
|
||
|
@@ -135,7 +70,7 @@ jobs: | |
DevEnvDir: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE' | ||
|
||
- name: Upload VSIX Artifacts | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Meadow.Win.VS2022.vsix.${{ ENV.IDE_TOOLS_RELEASE_VERSION }} | ||
path: 'main\VS_Meadow_Extension\VS_Meadow_Extension.2022\bin\Release\*.vsix' | ||
|
2 changes: 1 addition & 1 deletion
2
VS_Meadow_Extension/VS_Meadow_Extension.2019/source.extension.vsixmanifest
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
2 changes: 1 addition & 1 deletion
2
VS_Meadow_Extension/VS_Meadow_Extension.2022/source.extension.vsixmanifest
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