File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,14 @@ jobs:
105105 - name : Set IS_COMPATIBLE_CONT as Output
106106 id : is-compatible-cont
107107 run : echo "is-compatible-cont=${{ env.IS_COMPATIBLE_CONT }}" | Out-File -Append -FilePath $env:GITHUB_OUTPUT
108+
109+ - name : Set Yui name (>= 5.17.0)
110+ if : env.IS_COMPATIBLE_CONT == 'true'
111+ run : echo "YUI_NAME=yui" | Out-File -Append -FilePath $env:GITHUB_ENV
112+
113+ - name : Set Yui name (< 5.17.0)
114+ if : env.IS_COMPATIBLE_CONT == 'false'
115+ run : echo "YUI_NAME=yukihana" | Out-File -Append -FilePath $env:GITHUB_ENV
108116
109117 - name : Set Yui fiddler name (>= 5.17.0)
110118 if : env.IS_COMPATIBLE_CONT == 'true'
@@ -137,8 +145,8 @@ jobs:
137145 run : |
138146 try {
139147 # Build the download URLs
140- $YuiFiddlerUrl = "https://github.com/project-yui/Yui-patch/releases/download/$env:Yui_RELEASE/yui -$env:Yui_FIDDLER_NAME-win32-x86_64-$env:Yui_RELEASE.dll"
141- $YuiHostPolicyUrl = "https://github.com/project-yui/Yui-patch/releases/download/$env:Yui_RELEASE/yui -hostpolicy-win32-x86_64-$env:Yui_RELEASE.dll"
148+ $YuiFiddlerUrl = "https://github.com/project-yui/Yui-patch/releases/download/$env:Yui_RELEASE/$env:YUI_NAME -$env:Yui_FIDDLER_NAME-win32-x86_64-$env:Yui_RELEASE.dll"
149+ $YuiHostPolicyUrl = "https://github.com/project-yui/Yui-patch/releases/download/$env:Yui_RELEASE/$env:YUI_NAME -hostpolicy-win32-x86_64-$env:Yui_RELEASE.dll"
142150
143151 # Print the URLs to ensure they're correct
144152 Write-Host "Downloading files from $env:Yui_RELEASE"
You can’t perform that action at this time.
0 commit comments