Skip to content

Commit 67983b7

Browse files
committed
fix
1 parent a7e3c3f commit 67983b7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ jobs:
3737

3838
- name: Publish to NuGet
3939
run: |
40-
dotnet nuget push "./build/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGETKEY }}
40+
dotnet nuget push "./build/**/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGETKEY }}
4141

build-plugin.cake

+6-6
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,26 @@ Task("Build")
4747
.IsDependentOn("Clean")
4848
.IsDependentOn("Restore")
4949
.Does(() => {
50+
var dir1 = buildDir.Combine("SelfHttpMatchmaker");
5051
DotNetBuild("./src/Plugins/SelfHttpMatchmaker/SelfHttpMatchmaker.csproj", new DotNetBuildSettings {
5152
Configuration = configuration,
5253
NoRestore = true,
53-
Runtime = runtime,
54-
OutputDirectory = buildDir + "/SelfHttpMatchmaker",
54+
OutputDirectory = dir1,
5555
MSBuildSettings = msbuildSettings,
5656
});
5757

58+
var dir2 = buildDir.Combine("SelfHttpMatchmaker");
5859
DotNetBuild("./src/Plugins/GameCodePlugin/GameCodePlugin.csproj", new DotNetBuildSettings {
5960
Configuration = configuration,
6061
NoRestore = true,
61-
Runtime = runtime,
62-
OutputDirectory = buildDir + "/GameCodePlugin",
62+
OutputDirectory = dir2,
6363
MSBuildSettings = msbuildSettings,
6464
});
6565

6666
if (BuildSystem.GitHubActions.IsRunningOnGitHubActions) {
67-
BuildSystem.GitHubActions.Commands.UploadArtifact(buildDir + "/SelfHttpMatchmaker", "SelfHttpMatchmaker");
67+
BuildSystem.GitHubActions.Commands.UploadArtifact(dir1, "SelfHttpMatchmaker");
6868

69-
BuildSystem.GitHubActions.Commands.UploadArtifact(buildDir + "/GameCodePlugin", "GameCodePlugin");
69+
BuildSystem.GitHubActions.Commands.UploadArtifact(dir2, "GameCodePlugin");
7070
}
7171
});
7272

0 commit comments

Comments
 (0)