Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed May 4, 2024
2 parents 1ecc766 + e15609f commit 7105765
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ jobs:
uses: actions/[email protected]
with:
# codecov in cake.recipe needs 2.1!
# version used for GitReleaseManager needs .NET Core 3.0
dotnet-version: |
2.1.x
3.1.x
5.0.x
6.0.x
- name: Build Addin
uses: cake-build/cake-action@v2
with:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/pre-release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ jobs:
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('setup.cake') }}
- name: install .NET versions
uses: actions/[email protected]
with:
# codecov in cake.recipe needs 2.1!
# version used for GitReleaseManager needs .NET Core 3.0
dotnet-version: |
2.1.x
5.0.x
6.0.x
- name: Set up git version
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }}
uses: gittools/actions/gitversion/[email protected]
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/publishdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
with:
path: tools
key: ${{ runner.os }}-doc-tools-${{ hashFiles('setup.cake') }}
- name: install .NET versions
uses: actions/[email protected]
with:
# codecov in cake.recipe needs 2.1!
dotnet-version: |
2.1.x
3.1.x
5.0.x
- name: Publishing documentaiton
uses: cake-build/cake-action@v2
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ jobs:
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('setup.cake') }}
- name: install .NET versions
uses: actions/[email protected]
with:
# codecov in cake.recipe needs 2.1!
# version used for GitReleaseManager needs .NET Core 3.0
dotnet-version: |
2.1.x
5.0.x
6.0.x
- name: Set up git version
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }}
uses: gittools/actions/gitversion/[email protected]
Expand All @@ -44,4 +53,3 @@ jobs:
target: releasenotes
verbosity: Diagnostic
cake-version: tool-manifest
cake-bootstrap: true
5 changes: 4 additions & 1 deletion setup.cake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(
context: Context,
testCoverageFilter: "+[Cake.Codecov]*");
ToolSettings.SetToolPreprocessorDirectives(codecovTool: "#tool nuget:?package=CodecovUploader&version=0.7.3");
ToolSettings.SetToolPreprocessorDirectives(
codecovTool: "#tool nuget:?package=CodecovUploader&version=0.7.3",
gitVersionGlobalTool: "#tool dotnet:?package=GitVersion.Tool&version=5.12.0",
gitReleaseManagerGlobalTool: "#tool dotnet:?package=GitReleaseManager.Tool&version=0.17.0");

// Tasks we want to override
((CakeTask)BuildParameters.Tasks.UploadCodecovReportTask.Task).Actions.Clear();
Expand Down

0 comments on commit 7105765

Please sign in to comment.