From fa0b86a9958c9aeb1c53e282dbee6a1afeba48af Mon Sep 17 00:00:00 2001 From: yyc12345 Date: Sat, 12 Oct 2024 14:14:52 +0800 Subject: [PATCH] chore: fix incorrect syntax of COPY command in msvc-cmake-build. - Fix incorrect syntax of COPY which cause we fail to copy LICENSE in final distribution package. - Add workflow_dispatch condition in workflow files to allow manual trigger. --- .github/workflows/windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1f3d9c4..a1b9c82 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,6 +1,6 @@ name: Windows CI -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] jobs: msvc-qmake-build: @@ -103,7 +103,7 @@ jobs: windeployqt --verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler --no-system-dxc-compiler --skip-plugin-types tls,networkinformation build\bin\ppic.exe robocopy ./dependencies_bin/bin build/bin *.dll if ErrorLevel 8 (exit /B 1) - copy LICENSE build/bin/ + copy LICENSE build\bin exit /B 0 - uses: actions/upload-artifact@v4 with: