We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7645a90 commit e379cccCopy full SHA for e379ccc
.github/workflows/msbuild.yml
@@ -61,7 +61,15 @@ jobs:
61
62
$url = "https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_Windows_x86-32.zip"
63
Write-Host "Url: $url"
64
- Invoke-WebRequest -Uri $url -OutFile "./XEngine_Windows_x86-32.zip"
+
65
+ try {
66
+ # Download the ZIP file
67
+ Invoke-WebRequest -Uri $url -OutFile "XEngine_Windows_x86-32.zip"
68
+ Write-Host "File downloaded successfully."
69
+ } catch {
70
+ Write-Host "Download failed: $_"
71
+ exit 1
72
+ }
73
Expand-Archive -Path ./XEngine_Windows_x86-32.zip -DestinationPath ./XEngine_Windows_x86-32 -Force
74
75
echo "XENGINE_INCLUDE=${{ github.workspace }}/XEngine_Windows_x86-32" | Out-File -FilePath $env:GITHUB_ENV -Append
0 commit comments