Update workflow-common-release.yml

This commit is contained in:
Chris Pulman 2023-11-14 20:11:53 +00:00 коммит произвёл GitHub
Родитель 69d891ba4b
Коммит 67a7b357d5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 16 удалений

21
.github/workflows/workflow-common-release.yml поставляемый
Просмотреть файл

@ -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