Output AppVeyor artifacts to parent folder that way file name won't have directory path

This commit is contained in:
Jaex 2017-11-02 14:35:17 +03:00
parent 8c0f421e45
commit e289a6ee26
2 changed files with 5 additions and 5 deletions

View file

@ -21,13 +21,13 @@ build:
after_build: after_build:
- ps: AppVeyor\after_build.ps1 - ps: AppVeyor\after_build.ps1
artifacts: artifacts:
- path: Output\ShareX-*-setup.exe - path: ShareX-*-setup.exe
name: Setup name: Setup
- path: Output\ShareX-portable.zip - path: ShareX-portable.zip
name: Portable name: Portable
- path: Output\ShareX-Steam - path: ShareX-Steam
name: Steam name: Steam
- path: Output\ShareX.appx - path: ShareX.appx
name: WindowsStore name: WindowsStore
deploy: deploy:
provider: GitHub provider: GitHub

View file

@ -71,7 +71,7 @@ private enum SetupJobs
private static string WindowsStoreDir => Path.Combine(BinDir, "WindowsStore"); private static string WindowsStoreDir => Path.Combine(BinDir, "WindowsStore");
private static string WindowsStoreDebugDir => Path.Combine(BinDir, "WindowsStoreDebug"); private static string WindowsStoreDebugDir => Path.Combine(BinDir, "WindowsStoreDebug");
private static string OutputDir => Path.Combine(ParentDir, "Output"); private static string OutputDir => AppVeyor ? ParentDir : Path.Combine(ParentDir, "Output");
private static string PortableOutputDir => Path.Combine(OutputDir, "ShareX-portable"); private static string PortableOutputDir => Path.Combine(OutputDir, "ShareX-portable");
private static string SteamOutputDir => Path.Combine(OutputDir, "ShareX-Steam"); private static string SteamOutputDir => Path.Combine(OutputDir, "ShareX-Steam");
private static string WindowsStoreOutputDir => Path.Combine(OutputDir, "ShareX-WindowsStore"); private static string WindowsStoreOutputDir => Path.Combine(OutputDir, "ShareX-WindowsStore");