Update workflow-common-release.yml
This commit is contained in:
Родитель
69d891ba4b
Коммит
67a7b357d5
|
@ -74,19 +74,14 @@ jobs:
|
|||
runs-on: windows-2022
|
||||
outputs:
|
||||
nbgv: ${{ steps.nbgv.outputs.SemVer2 }}
|
||||
steps:
|
||||
- name: Get Current Visual Studio Information
|
||||
shell: bash
|
||||
run: |
|
||||
dotnet tool update -g dotnet-vs
|
||||
echo "## About RELEASE ##"
|
||||
vs where release
|
||||
|
||||
steps:
|
||||
- name: Update Visual Studio Latest Release
|
||||
if: inputs.useVisualStudioPreview == true
|
||||
shell: bash
|
||||
run: |
|
||||
echo "## Update RELEASE ##"
|
||||
dotnet tool update -g dotnet-vs
|
||||
vs where release
|
||||
vs update release Enterprise
|
||||
vs modify release Enterprise +mobile +desktop +uwp +web
|
||||
echo "## About RELEASE Updated ##"
|
||||
|
@ -99,19 +94,12 @@ jobs:
|
|||
fetch-depth: 0
|
||||
lfs: true
|
||||
|
||||
- name: Setup .NET 6/7
|
||||
- name: Setup .NET 6/7/8
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: |
|
||||
6.0.x
|
||||
7.0.x
|
||||
|
||||
- name: Setup .NET 8 preview
|
||||
if: inputs.useVisualStudioPreview == true
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-quality: 'preview'
|
||||
dotnet-version: |
|
||||
8.0.x
|
||||
|
||||
- name: Install DotNet workloads
|
||||
|
@ -128,6 +116,7 @@ jobs:
|
|||
maui-check --non-interactive --fix
|
||||
|
||||
- name: Add MSBuild to PATH
|
||||
if: inputs.dotNetBuild != true
|
||||
uses: microsoft/setup-msbuild@v1.3.1
|
||||
with:
|
||||
vs-prerelease: true
|
||||
|
|
Загрузка…
Ссылка в новой задаче