Skip to content

Commit 8cd2b82

Browse files
authored
Update hosted builds (#201)
1 parent 247cbc0 commit 8cd2b82

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,13 @@ jobs:
4343
with:
4444
fetch-depth: 0
4545

46-
- name: Install .NET ${{ env.DotNet3Version }}
46+
- name: Install .NET Core ${{ env.DotNet3Version }}, .NET ${{ env.DotNet6Version }}, and .NET ${{ env.DotNet7Version }}
4747
uses: actions/setup-dotnet@v3
4848
with:
49-
dotnet-version: ${{ env.DotNet3Version }}
50-
51-
- name: Install .NET ${{ env.DotNet6Version }}
52-
uses: actions/setup-dotnet@v3
53-
with:
54-
dotnet-version: ${{ env.DotNet6Version }}
55-
56-
- name: Install .NET ${{ env.DotNet7Version }}
57-
uses: actions/setup-dotnet@v3
58-
with:
59-
dotnet-version: ${{ env.DotNet7Version }}
49+
dotnet-version: |
50+
${{ env.DotNet3Version }}
51+
${{ env.DotNet6Version }}
52+
${{ env.DotNet7Version }}
6053
6154
- name: Build Solution
6255
run: dotnet build "/Property:Platform=${{ env.BuildPlatform }};Configuration=${{ env.BuildConfiguration }}" "/BinaryLogger:${{ env.ArtifactsDirectoryName }}/build.binlog"

.github/workflows/Official.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
ContinuousIntegrationBuild: 'true'
1616
DotNet3Version: '3.x'
1717
DotNet6Version: '6.x'
18+
DotNet7Version: '6.x'
1819

1920
jobs:
2021
build:
@@ -27,15 +28,13 @@ jobs:
2728
with:
2829
fetch-depth: 0
2930

30-
- name: Install .NET Core ${{ env.DotNet3Version }}
31-
uses: actions/setup-dotnet@v1
31+
- name: Install .NET Core ${{ env.DotNet3Version }}, .NET ${{ env.DotNet6Version }}, and .NET ${{ env.DotNet7Version }}
32+
uses: actions/setup-dotnet@v3
3233
with:
33-
dotnet-version: ${{ env.DotNet3Version }}
34-
35-
- name: Install .NET ${{ env.DotNet6Version }}
36-
uses: actions/setup-dotnet@v1
37-
with:
38-
dotnet-version: ${{ env.DotNet6Version }}
34+
dotnet-version: |
35+
${{ env.DotNet3Version }}
36+
${{ env.DotNet6Version }}
37+
${{ env.DotNet7Version }}
3938
4039
- name: Build Solution
4140
run: dotnet build "/Property:Platform=${{ env.BuildPlatform }};Configuration=${{ env.BuildConfiguration }}" "/BinaryLogger:${{ env.ArtifactsDirectoryName }}\build.binlog"

0 commit comments

Comments
 (0)