Skip to content

Commit

Permalink
Update build task versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Apr 27, 2023
1 parent 339e552 commit 886d679
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .azure-pipelines/Release Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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/
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 886d679

Please sign in to comment.