Merge branch 'develop' into cs/msi-cont

# Conflicts:
#	.github/workflows/build.yml
#	Cargo.toml
#	src/lib-rust/Cargo.toml
#	src/lib-rust/src/lib.rs
This commit is contained in:
Caelan Sayler
2025-06-16 17:26:43 +01:00
69 changed files with 4041 additions and 1881 deletions

View File

@@ -20,6 +20,26 @@ public class GithubDeploymentTests
_output = output;
}
[Fact(Skip = "Need to create a repo to test with")]
public async Task TestUnauthenticatedDownload()
{
using var logger = _output.BuildLoggerFor<GithubDeploymentTests>();
using var _1 = TempUtil.GetTempDirectory(out var releaseDir);
var repo = new GitHubRepository(logger);
var options = new GitHubDownloadOptions {
TargetOs = RuntimeOs.Linux,
Channel = "linux-x64",
ReleaseDir = new DirectoryInfo(releaseDir),
Timeout = 60,
Prerelease = false,
RepoUrl = "TODO",
Token = null,
};
await repo.DownloadLatestFullPackageAsync(options);
}
[SkippableFact]
public void WillRefuseToUploadMultipleWithoutMergeArg()
{