Skip to content

Commit

Permalink
Merge pull request #136 from nils-a/feature/GH-135
Browse files Browse the repository at this point in the history
(#135) update CI Machines to Windows 2022
  • Loading branch information
nils-a authored Jul 1, 2024
2 parents 8a23bbc + 9d48fb2 commit bff516b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
#---------------------------------#
# Build Image #
#---------------------------------#
image: Visual Studio 2019
image: Visual Studio 2022

#---------------------------------#
# Install .NET #
#---------------------------------#
install:
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 2.1 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 3.1 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 5.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 6.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 7.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 8.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info


#---------------------------------#
# Build Script #
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-2019 ]
os: [ windows-2022 ]

env:
AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }}
Expand Down Expand Up @@ -47,6 +47,16 @@ jobs:
- name: Fetch all tags and branches
run: git fetch --prune --unshallow

- uses: actions/[email protected]
with:
dotnet-version: |
2.1.818
3.1.x
5.0.x
6.0.x
7.0.x
8.0.x
- name: Cache Tools
uses: actions/cache@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ BuildParameters.SetParameters(context: Context,
repositoryOwner: "cake-contrib",
repositoryName: "Cake.Coveralls",
appVeyorAccountName: "cakecontrib",
shouldRunCodecov: false,
shouldPostToGitter: false,
shouldRunDotNetCorePack: true,
preferredBuildProviderType: BuildProviderType.GitHubActions,
shouldGenerateDocumentation: false);
Expand Down

0 comments on commit bff516b

Please sign in to comment.