Browse Source

Working directory for powershell

Krzysztof Krysiński 2 years ago
parent
commit
fdd59db004
4 changed files with 11 additions and 7 deletions
  1. 3 2
      windows-x64-release-dev.yml
  2. 3 2
      windows-x64-release.yml
  3. 2 1
      windows-x86-release-dev.yml
  4. 3 2
      windows-x86-release.yml

+ 3 - 2
windows-x64-release-dev.yml

@@ -55,8 +55,9 @@ steps:
   displayName: Publish PixiEditor
   displayName: Publish PixiEditor
   inputs:
   inputs:
     filePath: 'src/PixiEditor.Builder/build.ps1'
     filePath: 'src/PixiEditor.Builder/build.ps1'
-    arguments: '--project-path "$(System.DefaultWorkingDirectory)\src\PixiEditor\PixiEditor.csproj" --build-configuration "Dev_Release" --runtime "win-x64" -o "$(System.DefaultWorkingDirectory)\Builds\PixiEditor-x64-light" --crash-report-webhook-url "$(crash-webhook-url)"'
-    
+    arguments: '--project-path "$(System.DefaultWorkingDirectory)\src\PixiEditor" --build-configuration "Dev_Release" --runtime "win-x64" -o "$(System.DefaultWorkingDirectory)\Builds\PixiEditor-x64-light" --crash-report-webhook-url "$(crash-webhook-url)"'
+    workingDirectory: 'src/PixiEditor.Builder'
+
 - task: ArchiveFiles@2
 - task: ArchiveFiles@2
   inputs:
   inputs:
     rootFolderOrFile: 'Builds\PixiEditor-x64-light'
     rootFolderOrFile: 'Builds\PixiEditor-x64-light'

+ 3 - 2
windows-x64-release.yml

@@ -55,8 +55,9 @@ steps:
   displayName: Publish PixiEditor
   displayName: Publish PixiEditor
   inputs:
   inputs:
     filePath: 'src/PixiEditor.Builder/build.ps1'
     filePath: 'src/PixiEditor.Builder/build.ps1'
-    arguments: '--project-path "$(System.DefaultWorkingDirectory)\src\PixiEditor\PixiEditor.csproj" --build-configuration "Release" --runtime "win-x64" -o "$(System.DefaultWorkingDirectory)\Builds\PixiEditor-x64-light" --crash-report-webhook-url "$(crash-webhook-url)"'
-    
+    arguments: '--project-path "$(System.DefaultWorkingDirectory)\src\PixiEditor" --build-configuration "Release" --runtime "win-x64" -o "$(System.DefaultWorkingDirectory)\Builds\PixiEditor-x64-light" --crash-report-webhook-url "$(crash-webhook-url)"'
+    workingDirectory: 'src/PixiEditor.Builder'
+
 - task: ArchiveFiles@2
 - task: ArchiveFiles@2
   inputs:
   inputs:
     rootFolderOrFile: 'Builds\PixiEditor-x64-light'
     rootFolderOrFile: 'Builds\PixiEditor-x64-light'

+ 2 - 1
windows-x86-release-dev.yml

@@ -57,7 +57,8 @@ steps:
   displayName: Publish PixiEditor
   displayName: Publish PixiEditor
   inputs:
   inputs:
     filePath: 'src/PixiEditor.Builder/build.ps1'
     filePath: 'src/PixiEditor.Builder/build.ps1'
-    arguments: '--project-path "$(System.DefaultWorkingDirectory)\src\PixiEditor\PixiEditor.csproj" --build-configuration "Dev_Release" --runtime "win-x86" -o "$(System.DefaultWorkingDirectory)\Builds\PixiEditor-x86-light" --crash-report-webhook-url "$(crash-webhook-url)"'
+    arguments: '--project-path "$(System.DefaultWorkingDirectory)\src\PixiEditor" --build-configuration "Dev_Release" --runtime "win-x86" -o "$(System.DefaultWorkingDirectory)\Builds\PixiEditor-x86-light" --crash-report-webhook-url "$(crash-webhook-url)"'
+    workingDirectory: 'src/PixiEditor.Builder'
 
 
 - task: ArchiveFiles@2
 - task: ArchiveFiles@2
   inputs:
   inputs:

+ 3 - 2
windows-x86-release.yml

@@ -57,8 +57,9 @@ steps:
   displayName: Publish PixiEditor
   displayName: Publish PixiEditor
   inputs:
   inputs:
     filePath: 'src/PixiEditor.Builder/build.ps1'
     filePath: 'src/PixiEditor.Builder/build.ps1'
-    arguments: '--project-path "$(System.DefaultWorkingDirectory)\src\PixiEditor\PixiEditor.csproj" --build-configuration "Release" --runtime "win-x86" -o "$(System.DefaultWorkingDirectory)\Builds\PixiEditor-x86-light" --crash-report-webhook-url "$(crash-webhook-url)"'
-
+    arguments: '--project-path "$(System.DefaultWorkingDirectory)\src\PixiEditor" --build-configuration "Release" --runtime "win-x86" -o "$(System.DefaultWorkingDirectory)\Builds\PixiEditor-x86-light" --crash-report-webhook-url "$(crash-webhook-url)"'
+    workingDirectory: 'src/PixiEditor.Builder'
+    
 - task: ArchiveFiles@2
 - task: ArchiveFiles@2
   inputs:
   inputs:
     rootFolderOrFile: 'Builds\PixiEditor-x86-light'
     rootFolderOrFile: 'Builds\PixiEditor-x86-light'