From b96b2766cac27eb04eb7c895fa9898830c20b270 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sat, 17 Feb 2024 10:38:10 +0800 Subject: [PATCH] Fix COPY --- .github/workflows/windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 2440b5d..e9e1978 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -35,7 +35,7 @@ jobs: - name: Setup msbuild uses: microsoft/setup-msbuild@v2 - name: Build resources - run: cd windows/resources && msbuild /p:Configuration=Release && COPY /Y "x64/Release/resources.dll" "../../build/windows/x64/runner/Release/resources.dll" + run: cd windows/resources && msbuild /p:Configuration=Release && Copy-Item "x64/Release/resources.dll" -Destination "../../build/windows/x64/runner/Release/resources.dll" - name: Package files run: cd build/windows/x64/runner/Release && 7z a -mx9 -y ../../../../../windows.7z - name: Upload files