From 0bb320f89c57a318d1bafa6eb59e32f4c8c36c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B1=B3?= Date: Sun, 23 Jun 2024 19:27:14 +0800 Subject: [PATCH] update --- .github/workflows/DDTV_Dev.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/DDTV_Dev.yml b/.github/workflows/DDTV_Dev.yml index aa0f8cc98..e022e45b2 100644 --- a/.github/workflows/DDTV_Dev.yml +++ b/.github/workflows/DDTV_Dev.yml @@ -150,17 +150,11 @@ jobs: run: cp -r Static Server/build_output/Static - - name: Move ffmpeg (Windows) - if: runner.os == 'Windows' - shell: pwsh + - name: Copy ffmpeg.exe (Windows) + if: matrix.os == 'windows-latest' run: | mkdir Server\\build_output\\Plugins\\ffmpeg - - $source = "Server/Plugins/*" - $destination = "Server/build_output/Plugins" - - New-Item -ItemType Directory -Force -Path $destination - Move-Item -Path $source -Destination $destination + copy Server\\Plugins\\ffmpeg\\ffmpeg.exe Server\\build_output\\Plugins\\ffmpeg\\ffmpeg.exe - name: Move all files to bin folder and create shortcut (Linux or macOS) if: runner.os != 'Windows'