change target repo and avoid abs path

This commit is contained in:
qhy040404
2023-12-08 10:01:34 +08:00
parent e090d7e04b
commit bde5122060
2 changed files with 3 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ steps:
- task: GitHubRelease@1 - task: GitHubRelease@1
inputs: inputs:
gitHubConnection: 'github.com_Masterain' gitHubConnection: 'github.com_Masterain'
repositoryName: 'DGP-Studio/Snap.Hutao' repositoryName: 'DGP-Automation/Hutao-Auto-Release'
action: 'create' action: 'create'
target: '$(Build.SourceVersion)' target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag' tagSource: 'userSpecifiedTag'

View File

@@ -96,7 +96,7 @@ Task("Build MSIX")
.Does(() => .Does(() =>
{ {
var p = StartProcess( var p = StartProcess(
"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\makeappx.exe", "makeappx.exe",
new ProcessSettings new ProcessSettings
{ {
Arguments = "pack /d " + binPath + " /p " + System.IO.Path.Combine(outputPath, $"Snap.Hutao.Alpha-{version}.msix") Arguments = "pack /d " + binPath + " /p " + System.IO.Path.Combine(outputPath, $"Snap.Hutao.Alpha-{version}.msix")
@@ -113,7 +113,7 @@ Task("Sign MSIX")
.Does(() => .Does(() =>
{ {
var p = StartProcess( var p = StartProcess(
"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\signtool.exe", "signtool.exe",
new ProcessSettings new ProcessSettings
{ {
Arguments = "sign /debug /v /a /fd SHA256 /f " + System.IO.Path.Combine(AzurePipelines.Environment.Agent.HomeDirectory.FullPath, "_work", "_temp", "DGP_Studio_CI.pfx") + " /p " + pw + " " + System.IO.Path.Combine(outputPath, $"Snap.Hutao.Alpha-{version}.msix") Arguments = "sign /debug /v /a /fd SHA256 /f " + System.IO.Path.Combine(AzurePipelines.Environment.Agent.HomeDirectory.FullPath, "_work", "_temp", "DGP_Studio_CI.pfx") + " /p " + pw + " " + System.IO.Path.Combine(outputPath, $"Snap.Hutao.Alpha-{version}.msix")