Update build task versions.

This commit is contained in:
Jared Goodwin 2023-04-27 09:10:10 -07:00
parent 339e552114
commit 886d6797d9
3 changed files with 16 additions and 16 deletions

View File

@ -39,9 +39,9 @@ jobs:
Write-Host "Setting current version to $CurrentVersion."
- task: UseDotNet@2
displayName: Use .NET Core sdk 6.x
displayName: Use .NET SDK
inputs:
version: 6.x
version: 7.x
- task: DotNetCoreCLI@2
displayName: dotnet publish x64
@ -125,9 +125,9 @@ jobs:
packagesDirectory: $(Build.SourcesDirectory)\packages
- task: UseDotNet@2
displayName: Use .NET Core sdk 6.x
displayName: Use .NET SDK
inputs:
version: 6.x
version: 7.x
- task: DotNetCoreCLI@2
displayName: dotnet restore

View File

@ -34,17 +34,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.5.2
with:
submodules: recursive
- name: Install .NET Core
uses: actions/setup-dotnet@v1.9.0
uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: 6.0.x
dotnet-version: 7
- name: Setup NuGet.exe for use with actions
uses: NuGet/setup-nuget@v1.0.5
uses: NuGet/setup-nuget@v1.2.0
- name: Set current version
shell: pwsh
@ -92,7 +92,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.5.2
with:
# Comment out the below 'repository' line if you want to build from
# your fork instead of the author's.
@ -102,9 +102,9 @@ jobs:
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v1.9.0
uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: 6.0.x
dotnet-version: 7
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
@ -148,7 +148,7 @@ jobs:
- name: Download macOS x64 Agent
uses: actions/download-artifact@v2
uses: actions/download-artifact@v2.1.1
with:
name: Mac-Agent-x64
path: ./Server/wwwroot/Content/
@ -161,7 +161,7 @@ jobs:
# Upload build artifact to be deployed from Ubuntu runner
- name: Upload build artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.2
with:
path: ./publish/
name: Server

View File

@ -25,16 +25,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.5.2
with:
submodules: recursive
fetch-depth: 0
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v1.9.0
uses: actions/setup-dotnet@v3.0.3
with:
dotnet-version: 6.0.x
dotnet-version: 7
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe