mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix osx github tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics;
|
||||
using Velopack.Deployment;
|
||||
using Velopack.Packaging.OSX.Commands;
|
||||
using Velopack.Packaging.Windows.Commands;
|
||||
@@ -19,13 +19,6 @@ namespace Velopack.Packaging.Tests
|
||||
_output = output;
|
||||
}
|
||||
|
||||
private Release GetGithubRelease(GitHubClient client, string releaseName)
|
||||
{
|
||||
var (repoOwner, repoName) = GitHubRepository.GetOwnerAndRepo(GITHUB_REPOURL);
|
||||
var existingReleases = client.Repository.Release.GetAll(repoOwner, repoName).GetAwaiterResult();
|
||||
return existingReleases.SingleOrDefault(s => s.Name == releaseName);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void CanDeployAndUpdateFromGithub()
|
||||
{
|
||||
@@ -142,6 +135,8 @@ This is just a _test_!
|
||||
EntryExecutableName = "TestApp",
|
||||
ReleaseDir = new DirectoryInfo(releaseDir),
|
||||
PackId = id,
|
||||
Icon = Path.Combine(PathHelper.GetProjectDir(), "examples", "AvaloniaCrossPlat", "Velopack.icns"),
|
||||
TargetRuntime = RID.Parse(VelopackRuntimeInfo.SystemOs.GetOsShortName()),
|
||||
PackVersion = version,
|
||||
PackDirectory = Path.Combine(projDir, "publish"),
|
||||
ReleaseNotes = releaseNotes,
|
||||
|
||||
Reference in New Issue
Block a user