Skip to content

Commit f184061

Browse files
committed
fixed:macos workflows/macbuild.yml
1 parent bc06e58 commit f184061

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/macbuild.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626

2727
# 检出依赖的xengine仓库到指定的xengine目录
2828
- name: Checkout dependency repository (xengine)
29+
if: matrix.os == 'macos-13'
2930
uses: actions/checkout@v4
3031
with:
3132
repository: libxengine/libxengine
@@ -63,7 +64,7 @@ jobs:
6364
6465
latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
6566
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_Mac_Arm64.zip
66-
unzip XEngine_Mac_Arm64.zip
67+
unzip ./XEngine_Mac_Arm64.zip ./XEngine_Mac_Arm64
6768
cd XEngine_Mac_Arm64
6869
6970
sudo cp -rf ./XEngine_Include /usr/local/include

.github/workflows/msbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
$latest_tag = $response.tag_name
6060
6161
$url = "https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_Windows_x86-32.zip"
62-
Invoke-WebRequest -Uri $url -OutFile "./XEngine_Windows_x86-32.zip"
62+
Invoke-WebRequest -Uri $url -OutFile "XEngine_Windows_x86-32.zip"
6363
Expand-Archive -Path ./XEngine_Windows_x86-32.zip -DestinationPath ./XEngine_Windows_x86-32 -Force
6464

6565
echo "XENGINE_INCLUDE=${{ github.workspace }}/XEngine_Windows_x86-32" | Out-File -FilePath $env:GITHUB_ENV -Append

0 commit comments

Comments
 (0)