File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,11 @@ jobs:
23
23
24
24
- checkout : msaccess-vcs-build
25
25
26
- - task : PowerShell @2
27
- displayName : ' Build 32-bit'
26
+ - task : CmdLine @2
27
+ displayName : ' Build 32-bit (32-bit PowerShell) '
28
28
inputs :
29
- targetType : inline
30
- pwsh : false
31
29
script : |
32
- $sourceDir = "BuildAccdeExample\source"
33
- $targetDir = "bin32"
34
- $compile = "true"
35
- $appConfig = "BuildAccdeExample/deployment/Application-Config.json"
36
- $vcsUrl = "https://api.github.com/repos/josef-poetzl/msaccess-vcs-addin/releases/latest"
37
-
38
- & "$(Build.SourcesDirectory)\msaccess-vcs-build\Build.ps1" -SourceDir $sourceDir -TargetDir $targetDir -Compile $compile -AppConfigFile "$appConfig" -vcsUrl $vcsUrl
30
+ "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -File "$(Build.SourcesDirectory)\msaccess-vcs-build\Build.ps1" -SourceDir "BuildAccdeExample\source" -TargetDir "bin32" -Compile "true" -AppConfigFile "BuildAccdeExample/deployment/Application-Config.json" -vcsUrl "https://api.github.com/repos/josef-poetzl/msaccess-vcs-addin/releases/latest"
39
31
40
32
- task : PublishBuildArtifacts@1
41
33
displayName : ' Publish 32-bit ACCDE'
You can’t perform that action at this time.
0 commit comments