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 7676 - name : Set IS_COMPATIBLE_CONT as Output
7777 id : is-compatible-cont
7878 run : echo "is-compatible-cont=${{ env.IS_COMPATIBLE_CONT }}" | Out-File -Append -FilePath $env:GITHUB_OUTPUT
79+
80+ - name : Set Yui name (>= 5.17.0)
81+ if : env.IS_COMPATIBLE_CONT == 'true'
82+ run : echo "YUI_NAME=yui" | Out-File -Append -FilePath $env:GITHUB_ENV
83+
84+ - name : Set Yui name (< 5.17.0)
85+ if : env.IS_COMPATIBLE_CONT == 'false'
86+ run : echo "YUI_NAME=yukihana" | Out-File -Append -FilePath $env:GITHUB_ENV
7987
8088 - name : Set Yui fiddler name (>= 5.17.0)
8189 if : env.IS_COMPATIBLE_CONT == 'true'
@@ -108,8 +116,8 @@ jobs:
108116 run : |
109117 try {
110118 # Build the download URLs
111- $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"
112- $YuiHostPolicyUrl = "https://github.com/project-yui/Yui-patch/releases/download/$env:Yui_RELEASE/yui -hostpolicy-win32-x86_64-$env:Yui_RELEASE.dll"
119+ $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"
120+ $YuiHostPolicyUrl = "https://github.com/project-yui/Yui-patch/releases/download/$env:Yui_RELEASE/$env:YUI_NAME -hostpolicy-win32-x86_64-$env:Yui_RELEASE.dll"
113121
114122 # Print the URLs to ensure they're correct
115123 Write-Host "Downloading files from $env:Yui_RELEASE"
You can’t perform that action at this time.
0 commit comments