Update workflow

This commit is contained in:
julyXX
2026-03-31 17:29:45 +08:00
parent 7f37684915
commit b6ec2c1ae1
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -122,7 +122,7 @@ jobs:
$work = Join-Path $env:RUNNER_TEMP "directml"
$zip = Join-Path $work "directml.zip"
$pkg = Join-Path $work "pkg"
$dest = Join-Path $env:GITHUB_WORKSPACE "src-tauri/resources/onnx/DirectML.dll"
$dest = Join-Path $env:GITHUB_WORKSPACE "src-tauri/resources/ffmpeg/DirectML.dll"
$destDir = Split-Path $dest -Parent
New-Item -ItemType Directory -Force -Path $work | Out-Null
@@ -140,6 +140,9 @@ jobs:
}
Copy-Item -Path $dll -Destination $dest -Force
if (-not (Test-Path $dest)) {
throw "DirectML.dll was not copied to: $dest"
}
- name: Build and Sign (Windows x64)
uses: tauri-apps/tauri-action@v0.5
+2 -2
View File
@@ -137,8 +137,8 @@ jobs:
if: matrix.target == 'aarch64-apple-darwin'
shell: bash
run: |
rm -rf src-tauri/target/aarch64-apple-darwin/release/build/ffmpeg-sys-next-*
rm -rf src-tauri/target/aarch64-apple-darwin/debug/build/ffmpeg-sys-next-*
rm -rf src-tauri/target/${{ matrix.target }}/release/build/ffmpeg-sys-next-*
rm -rf src-tauri/target/${{ matrix.target }}/debug/build/ffmpeg-sys-next-*
rm -rf src-tauri/target/release/build/ffmpeg-sys-next-*
rm -rf src-tauri/target/debug/build/ffmpeg-sys-next-*