mirror of
https://github.com/bitwarden/cli
synced 2025-12-14 15:23:36 +00:00
debugging envs
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -60,8 +60,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Version Test
|
- name: Version Test
|
||||||
run: |
|
run: |
|
||||||
|
dir ./dist/
|
||||||
Expand-Archive -Path "./dist/bw-windows-${env:PACKAGE_VERSION}.zip" -DestinationPath "./test/windows"
|
Expand-Archive -Path "./dist/bw-windows-${env:PACKAGE_VERSION}.zip" -DestinationPath "./test/windows"
|
||||||
$testVersion = Invoke-Expression '& ./test/windows/bw.exe -v'
|
$testVersion = Invoke-Expression '& ./test/windows/bw.exe -v'
|
||||||
|
|
||||||
|
echo "version: $env:PACKAGE_VERSION"
|
||||||
|
echo "testVersion: $env:testVersion"
|
||||||
if($testVersion -ne $env:PACKAGE_VERSION) {
|
if($testVersion -ne $env:PACKAGE_VERSION) {
|
||||||
Throw "Version test failed."
|
Throw "Version test failed."
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user