Update workflows as powershell is now default on windows

This commit is contained in:
Shivam Mathur
2019-10-25 03:00:35 +05:30
parent 340ab0b95f
commit 91d14c7068
15 changed files with 127 additions and 63 deletions

View File

@ -44,7 +44,7 @@ async function run() {
await exec('sh ./' + version + 'darwin.sh ' + version);
} else if (os_version == 'win32') {
await build('win32.ps1', version, os_version);
await exec('powershell .\\' + version + 'win32.ps1 -version ' + version);
await exec('pwsh .\\' + version + 'win32.ps1 -version ' + version);
} else if (os_version == 'linux') {
await build('linux.sh', version, os_version);
await exec('./' + version + 'linux.sh ' + version);