Skip to content

Commit

Permalink
exe location
Browse files Browse the repository at this point in the history
  • Loading branch information
jworkmanjc committed Jan 30, 2025
1 parent a215a61 commit 8e22a36
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions jumpcloud-ADMU/Powershell/Tests/Build.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,8 @@ Describe "Module Validation Tests" {
$masterForm = (Invoke-WebRequest https://raw.githubusercontent.com/TheJumpCloud/jumpcloud-ADMU/master/jumpcloud-ADMU/Powershell/Private/DisplayForms/Form.ps1 -useBasicParsing).ToString()
$masterVersion = Select-String -InputObject:($masterForm) -Pattern:($VersionRegex)
$masterFormVersion = [version]$masterVersion.Matches.value
if ($CI) {
$gui_exePathFromArtifact = "$GITHUB_WORKSPACE\jumpcloud-admu-build\Exe\gui_jcadmu.exe"
$uwp_exePathFromArtifact = "$GITHUB_WORKSPACE\jumpcloud-admu-build\Exe\uwp_jcadmu.exe"
} else {
$gui_exePathFromArtifact = "$PSScriptRoot\..\..\exe\gui_jcadmu.exe"
$uwp_exePathFromArtifact = "$PSScriptRoot\..\..\exe\uwp_jcadmu.exe"
}
$gui_exePathFromArtifact = "$PSScriptRoot\..\..\..\Exe\gui_jcadmu.exe"
$uwp_exePathFromArtifact = "$PSScriptRoot\..\..\..\Exe\uwp_jcadmu.exe"
$gui_exeVersion = [version](Get-Item ("$gui_exePathFromArtifact")).VersionInfo.FileVersion
$wup_exeVersion = [version](Get-Item ("$uwp_exePathFromArtifact")).VersionInfo.FileVersion
if ($env:ModuleVersionType -eq "manual") {
Expand Down

0 comments on commit 8e22a36

Please sign in to comment.