Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-cpp committed Mar 13, 2024
1 parent 6e6cacb commit f473425
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ jobs:
packages: write
contents: write
steps:
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3

- name: Clone Repository
uses: actions/checkout@v4

Expand All @@ -72,6 +69,9 @@ jobs:
with:
dotnet-version: '8.0.x'

- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3

- name: Push GitHub Nugets
run: dotnet run --project build/Build.csproj -- --target=DeployNuGetsToGithub
env:
Expand Down
4 changes: 3 additions & 1 deletion build/DeployTasks/UploadArtifactsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public override async Task RunAsync(BuildContext context)
PlatformFamily.OSX => "mac",
_ => "linux"
};
await context.GitHubActions().Commands.UploadArtifact(context.NuGetsDirectory, $"nuget-{os}");
// /home/runner/work/MonoGame/MonoGame/artifacts/NuGet/MonoGame.Templates.CSharp.3.8.1.151-harry-cpp.nupkg
// /home/runner/work/MonoGame/MonoGame/artifacts/NuGet not found.
await context.GitHubActions().Commands.UploadArtifact(new DirectoryPath(context.NuGetsDirectory.FullPath), $"nuget-{os}");
}
}

0 comments on commit f473425

Please sign in to comment.