debugging envs

This commit is contained in:
Joseph Flinn 2020-12-22 21:45:05 +00:00
parent e1aaca8a17
commit ae8a196837
1 changed files with 4 additions and 0 deletions

View File

@ -60,8 +60,12 @@ jobs:
- name: Version Test
run: |
dir ./dist/
Expand-Archive -Path "./dist/bw-windows-${env:PACKAGE_VERSION}.zip" -DestinationPath "./test/windows"
$testVersion = Invoke-Expression '& ./test/windows/bw.exe -v'
echo "version: $env:PACKAGE_VERSION"
echo "testVersion: $env:testVersion"
if($testVersion -ne $env:PACKAGE_VERSION) {
Throw "Version test failed."
}