Skip to content

Commit 71fe846

Browse files
authored
ci: use server 2019 for win builds (#727)
1 parent 05372be commit 71fe846

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build-test.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ on:
1414

1515
jobs:
1616
Build:
17-
runs-on: ${{ matrix.os }}-latest
17+
runs-on: ${{ matrix.os }}
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
os: [ubuntu, windows, macos]
21+
os: [ubuntu-latest, windows-2019, macos-latest]
2222
target: [netstandard2.0, netstandard2.1]
2323
include:
24-
- os: windows
24+
- os: windows-2019
2525
target: net45
2626
env:
2727
LIB_PROJ: src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
@@ -35,6 +35,9 @@ jobs:
3535
uses: actions/setup-dotnet@v1
3636
with:
3737
dotnet-version: '3.1.x'
38+
39+
- name: Show .NET info
40+
run: dotnet --info
3841

3942
- name: Build library (Debug)
4043
run: dotnet build -c debug -f ${{ matrix.target }} ${{ env.LIB_PROJ }}
@@ -73,7 +76,7 @@ jobs:
7376

7477
CodeCov:
7578
name: Code Coverage
76-
runs-on: windows-latest
79+
runs-on: windows-2019
7780
env:
7881
DOTCOVER_VER: 2021.1.2
7982
DOTCOVER_PKG: jetbrains.dotcover.commandlinetools

0 commit comments

Comments
 (0)