Skip to content

Commit faebe0a

Browse files
authored
Merge pull request #277 from nils-a/feature/GH-276
(#276) Make builds work again
2 parents 7c03e9b + 65919bc commit faebe0a

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
os: [windows-latest, macos-13, ubuntu-latest]
22+
os: [windows-2022, ubuntu-24.04]
2323

2424
env:
2525
AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }}
@@ -57,8 +57,7 @@ jobs:
5757
3.1
5858
5.0
5959
6.0
60-
7.0
61-
8.0
60+
9.0
6261
6362
- name: Cache Tools
6463
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
@@ -67,12 +66,12 @@ jobs:
6766
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
6867

6968
- name: Build project
70-
uses: cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0
69+
uses: cake-build/cake-action@5167c3f6a9e15c76f009de2acdfb9488552bc0b9 # v3
7170
with:
7271
script-path: recipe.cake
7372
target: CI
7473
verbosity: Diagnostic
75-
cake-version: 1.3.0
74+
cake-version: tool-manifest
7675

7776
# currently, Cake.Recipe does not upload artifacts when run on gh-actions
7877
- name: Upload Issues

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
6.0
3434
7.0
3535
8.0
36+
9.0
3637
3738
- name: Cache Tools
3839
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
@@ -46,11 +47,11 @@ jobs:
4647
languages: ${{ matrix.language }}
4748

4849
- name: Build project
49-
uses: cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0
50+
uses: cake-build/cake-action@5167c3f6a9e15c76f009de2acdfb9488552bc0b9 # v3
5051
with:
5152
script-path: recipe.cake
5253
target: DotNetCore-Build
53-
cake-version: 1.3.0
54+
cake-version: tool-manifest
5455

5556
- name: Perform CodeQL Analysis
5657
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.403",
3+
"version": "9.0.300",
44
"rollForward": "latestFeature"
55
}
6-
}
6+
}

recipe.cake

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@ BuildParameters.SetParameters(
1616
twitterMessage: standardNotificationMessage,
1717
shouldRunCodecov: false,
1818
preferredBuildProviderType: BuildProviderType.GitHubActions,
19-
preferredBuildAgentOperatingSystem: PlatformFamily.Linux);
19+
preferredBuildAgentOperatingSystem: PlatformFamily.Linux,
20+
shouldUseTargetFrameworkPath: false);
2021

2122
BuildParameters.PrintParameters(Context);
2223

2324
ToolSettings.SetToolPreprocessorDirectives(
24-
gitReleaseManagerGlobalTool: "#tool dotnet:?package=GitReleaseManager.Tool&version=0.18.0");
25+
gitReleaseManagerGlobalTool: "#tool dotnet:?package=GitReleaseManager.Tool&version=0.18.0",
26+
gitVersionGlobalTool: "#tool dotnet:?package=GitVersion.Tool&version=5.12.0",
27+
reportGeneratorGlobalTool: "#tool dotnet:?package=dotnet-reportgenerator-globaltool&version=5.4.7",
28+
coverallsGlobalTool: "#tool dotnet:?package=coveralls.net&version=4.0.1");
2529

2630
ToolSettings.SetToolSettings(context: Context);
2731

0 commit comments

Comments
 (0)