mirror of
https://github.com/julyx10/lap.git
synced 2026-10-02 10:05:16 +08:00
Update workflow
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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-*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user