File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 23
23
}
24
24
25
25
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
+
28
27
Invoke-WebRequest - URI " $LemonTreePackageURL " - OutFile " LTA.zip"
29
28
Expand-Archive " LTA.zip" - DestinationPath " .\LTA\" - Force
30
29
41
40
42
41
if ($RunnerOs -eq ' Linux' )
43
42
{
44
- $LemonTreeExe = " ./LTA/LemonTree.Automation "
43
+ $LemonTreeExe = " ./LTA/lemontree.automation "
45
44
# workaround because github artifacts logic doesn't maintain properties
46
45
chmod + x $LemonTreeExe
47
46
}
@@ -52,7 +51,6 @@ elseif ($RunnerOs -eq 'Windows')
52
51
53
52
# Just to be sure if the executeable is not available - let's throw exitcode 1
54
53
55
-
56
54
Write-Output " LemonTreeAutomationExecutable=$LemonTreeExe " >> $env: GITHUB_OUTPUT
57
55
58
56
exit 0
You can’t perform that action at this time.
0 commit comments