Skip to content

Commit a4927f7

Browse files
committed
Changed the case of the linux executable to fit with the new deployment #8
1 parent 39fa7d0 commit a4927f7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

getLTA.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ else
2323
}
2424

2525
Write-Output "Download LemonTree.Automtion from Repo"
26-
# while (Test-Path Alias:curl) {Remove-Item Alias:curl} #remove the alias binding from curl to Invoke-WebRequest
27-
# curl "$LemonTreePackageURL" --output LTA.zip -k
26+
2827
Invoke-WebRequest -URI "$LemonTreePackageURL" -OutFile "LTA.zip"
2928
Expand-Archive "LTA.zip" -DestinationPath ".\LTA\" -Force
3029

@@ -41,7 +40,7 @@ else
4140

4241
if ($RunnerOs -eq 'Linux')
4342
{
44-
$LemonTreeExe = "./LTA/LemonTree.Automation"
43+
$LemonTreeExe = "./LTA/lemontree.automation"
4544
#workaround because github artifacts logic doesn't maintain properties
4645
chmod +x $LemonTreeExe
4746
}
@@ -52,7 +51,6 @@ elseif ($RunnerOs -eq 'Windows')
5251

5352
#Just to be sure if the executeable is not available - let's throw exitcode 1
5453

55-
5654
Write-Output "LemonTreeAutomationExecutable=$LemonTreeExe" >> $env:GITHUB_OUTPUT
5755

5856
exit 0

0 commit comments

Comments
 (0)