File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
.github/actions/download-openh264 Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,9 @@ runs:
161161 GH_TOKEN : ${{ github.token }}
162162 run : |
163163 $VERSION = "${{ inputs.openh264_version }}"
164- $CACHE_DIR = "${{ steps.setup.outputs.cache_dir }}"
164+ # Unix スタイルのパスを Windows スタイルに変換
165+ $CACHE_DIR_UNIX = "${{ steps.setup.outputs.cache_dir }}"
166+ $CACHE_DIR = $CACHE_DIR_UNIX -replace '^/c/', 'C:\' -replace '/', '\'
165167 $LIB_NAME = "${{ steps.setup.outputs.lib_name }}"
166168
167169 # キャッシュディレクトリを作成
@@ -213,9 +215,11 @@ runs:
213215 }
214216
215217 # キャッシュディレクトリにコピー
216- $destPath = " $CACHE_DIR/ $LIB_NAME"
218+ $destPath = Join-Path $CACHE_DIR $LIB_NAME
217219 Copy-Item -Path $dllName -Destination $destPath -Force
218- Write-Host "Library cached to: $destPath"
220+ # Unix スタイルのパスで表示
221+ $destPathUnix = "$CACHE_DIR_UNIX/$LIB_NAME"
222+ Write-Host "Library cached to: $destPathUnix"
219223
220224 - name : Copy from cache to working directory
221225 id : copy
You can’t perform that action at this time.
0 commit comments