Skip to content

Commit

Permalink
Update hosted builds (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkl authored Dec 7, 2022
1 parent 247cbc0 commit 8cd2b82
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 20 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,13 @@ jobs:
with:
fetch-depth: 0

- name: Install .NET ${{ env.DotNet3Version }}
- name: Install .NET Core ${{ env.DotNet3Version }}, .NET ${{ env.DotNet6Version }}, and .NET ${{ env.DotNet7Version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DotNet3Version }}

- name: Install .NET ${{ env.DotNet6Version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DotNet6Version }}

- name: Install .NET ${{ env.DotNet7Version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DotNet7Version }}
dotnet-version: |
${{ env.DotNet3Version }}
${{ env.DotNet6Version }}
${{ env.DotNet7Version }}
- name: Build Solution
run: dotnet build "/Property:Platform=${{ env.BuildPlatform }};Configuration=${{ env.BuildConfiguration }}" "/BinaryLogger:${{ env.ArtifactsDirectoryName }}/build.binlog"
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ env:
ContinuousIntegrationBuild: 'true'
DotNet3Version: '3.x'
DotNet6Version: '6.x'
DotNet7Version: '6.x'

jobs:
build:
Expand All @@ -27,15 +28,13 @@ jobs:
with:
fetch-depth: 0

- name: Install .NET Core ${{ env.DotNet3Version }}
uses: actions/setup-dotnet@v1
- name: Install .NET Core ${{ env.DotNet3Version }}, .NET ${{ env.DotNet6Version }}, and .NET ${{ env.DotNet7Version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DotNet3Version }}

- name: Install .NET ${{ env.DotNet6Version }}
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DotNet6Version }}
dotnet-version: |
${{ env.DotNet3Version }}
${{ env.DotNet6Version }}
${{ env.DotNet7Version }}
- name: Build Solution
run: dotnet build "/Property:Platform=${{ env.BuildPlatform }};Configuration=${{ env.BuildConfiguration }}" "/BinaryLogger:${{ env.ArtifactsDirectoryName }}\build.binlog"
Expand Down

0 comments on commit 8cd2b82

Please sign in to comment.