Skip to content

Commit 7908a79

Browse files
committed
fix codecov publishing
1 parent c2607a5 commit 7908a79

File tree

9 files changed

+18
-4
lines changed

9 files changed

+18
-4
lines changed

.github/workflows/_artifacts_linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
matrix:
2020
distro: [ alpine.3.15, alpine.3.16, alpine.3.17, centos.7, centos.stream.8, fedora.36, debian.10, debian.11, ubuntu.18.04, ubuntu.20.04, ubuntu.22.04 ]
2121
targetFramework: [ '7.0', '6.0' ]
22+
fail-fast: false
2223

2324
steps:
2425
-

.github/workflows/_artifacts_windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
package: [ Executable, MsBuildFull ]
11+
fail-fast: false
1112

1213
steps:
1314
-

.github/workflows/_docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
matrix:
2020
distro: [ alpine.3.15, alpine.3.16, alpine.3.17, centos.7, centos.stream.8, fedora.36, debian.10, debian.11, ubuntu.18.04, ubuntu.20.04, ubuntu.22.04 ]
2121
targetFramework: [ '7.0', '6.0' ]
22+
fail-fast: false
2223

2324
steps:
2425
-

.github/workflows/_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
taskName: [ NuGet, Chocolatey ]
11-
11+
fail-fast: false
1212
env:
1313
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1414
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

.github/workflows/_unit_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
matrix:
1111
os: [windows-latest, ubuntu-latest, macos-latest]
1212
targetFramework: [net7.0, net6.0]
13+
fail-fast: false
1314

1415
runs-on: ${{ matrix.os }}
1516
steps:

build/Directory.Packages.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<PackageVersion Include="Cake.Docker" Version="1.2.0" />
1313
<PackageVersion Include="Cake.Git" Version="3.0.0" />
1414
<PackageVersion Include="Cake.Json" Version="7.0.1" />
15-
<PackageVersion Include="CodecovUploader" Version="0.3.2" />
1615
<PackageVersion Include="xunit.assert" Version="2.4.2" />
1716
</ItemGroup>
18-
</Project>
17+
</Project>

build/build/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
.UseTaskLifetime<BuildTaskLifetime>()
99
.UseRootDirectory()
1010
.InstallToolsFromRootManifest()
11+
.InstallNugetTool(Tools.CodecovUploaderCmd, Tools.Versions[Tools.CodecovUploaderCmd])
1112
.Run(args);

build/build/build.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@
99
<ItemGroup>
1010
<PackageReference Include="Cake.Codecov" />
1111
<PackageReference Include="Cake.Coverlet" />
12-
<PackageReference Include="CodecovUploader" />
1312
</ItemGroup>
1413
</Project>

build/common/Utilities/Tools.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
namespace Common.Utilities;
2+
3+
public class Tools
4+
{
5+
public const string CodecovUploaderCmd = "CodecovUploader";
6+
7+
public static readonly Dictionary<string, string> Versions = new()
8+
{
9+
{ CodecovUploaderCmd, "0.3.2" },
10+
};
11+
}

0 commit comments

Comments
 (0)