Skip to content

Commit

Permalink
some more powershell ..
Browse files Browse the repository at this point in the history
  • Loading branch information
njnes committed Aug 7, 2023
1 parent f620bb9 commit 7cf3835
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

# the prefix and version numbers for the branches need to be manually copied (for now) from:
# http://monetdb.org/testweb/web/status.php
# Install-Binary -Url "http://monetdb.org/testweb/web/${{ env.MSI }}" -Name "${{ env.MSI }}" -ArgumentList "/norestart /quiet /passive /qn INSTALLLEVEL=1000 INSTALLDIR=$HOME\MonetDB"
jobs:
windows-monetdb-build:
runs-on: windows-latest
Expand All @@ -29,7 +30,13 @@ jobs:
name: Install monetdb
shell: pwsh
run: |
Install-Binary -Url "http://monetdb.org/testweb/web/${{ env.MSI }}" -Name "${{ env.MSI }}" -ArgumentList "/norestart /quiet /passive /qn INSTALLLEVEL=1000 INSTALLDIR=$HOME\MonetDB"
$msifile="c:\${{ env.MSI }}"
(New-Object System.Net.WebClient).DownloadFile("http://monetdb.org/testweb/web/${{ env.MSI }}","$msifile");
$procMain = Start-Process msiexec -ArgumentList '/i $msifile /quiet /passive /L*v c:\test.log'
$procLog = Start-Process "powershell" "Get-Content -Path c:\test.log -Wait" -NoNewWindow -PassThru
$procMain.WaitForExit(200)
$procLog.Kill()
# Install-Binary -Url "http://monetdb.org/testweb/web/${{ env.MSI }}" -Name "${{ env.MSI }}" -ArgumentList "/norestart /quiet /passive /qn INSTALLLEVEL=1000 INSTALLDIR=$HOME\MonetDB"
- uses: actions/upload-artifact@v3
with:
name: monetdb-win-${{ matrix.MONETDB_BRANCH }}
Expand Down

0 comments on commit 7cf3835

Please sign in to comment.