Skip to content

Commit

Permalink
chore: fix incorrect syntax of COPY command in msvc-cmake-build.
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
yyc12345 committed Oct 12, 2024
1 parent b880406 commit fa0b86a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Windows CI

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
msvc-qmake-build:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit fa0b86a

Please sign in to comment.