File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed
Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -58,22 +58,14 @@ jobs:
5858 Write-Host "Latest Tag: $latest_tag"
5959
6060 $url = "https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_Windows_x86-32.zip"
61- Write-Host "Url : $url"
62-
63- try {
64- # Download the ZIP file
65- Invoke-WebRequest -Uri $url -OutFile "XEngine_Windows_x86-32.zip"
66- Write-Host "File downloaded successfully."
67- } catch {
68- Write-Host "Download failed : $_"
69- exit 1
70- }
61+ Invoke-WebRequest -Uri $url -OutFile "XEngine_Windows_x86-32.zip"
7162 ls
72- Expand-Archive -Path ./XEngine_Windows_x86-32.zip -DestinationPath ./XEngine_Windows_x86-32 -Force
73- ls XEngine_Windows_x86-32
63+ Expand-Archive -Path ./XEngine_Windows_x86-32.zip -DestinationPath ./XEngine_Windows -Force
64+ ls XEngine_Windows/
65+ ls XEngine_Windows/XEngine_Include
7466
75- echo "XENGINE_INCLUDE=${{ github.workspace }}/XEngine_Windows_x86-32 " | Out-File -FilePath $env:GITHUB_ENV -Append
76- echo "XENGINE_LIB32=${{ github.workspace }}/XEngine_Windows_x86-32 /XEngine_Windows" | Out-File -FilePath $env:GITHUB_ENV -Append
67+ echo "XENGINE_INCLUDE=${{ github.workspace }}/XEngine_Windows " | Out-File -FilePath $env:GITHUB_ENV -Append
68+ echo "XENGINE_LIB32=${{ github.workspace }}/XEngine_Windows /XEngine_Windows" | Out-File -FilePath $env:GITHUB_ENV -Append
7769 shell : pwsh
7870
7971 # 配置 MSBuild 的路径,准备构建 VC++ 项目
You can’t perform that action at this time.
0 commit comments