Skip to content

Commit

Permalink
Update build-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shdwmtr committed Jun 12, 2024
1 parent 0f2f64d commit 9b84f5d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,18 +127,20 @@ jobs:
- name: Build Millennium
run: |
mkdir D:/a/Millennium/Millennium/build/artifacts
dir "D:\a\Millennium\Millennium\Python-3.11.8\PCbuild\win32"
# build millennium with msvc; x86; release
cmake --build build --config Release
# Move the python311.dll binary to the release directory
move D:\a\Millennium\Millennium\Python-3.11.8\PCbuild\win32\python311.dll D:\a\Millennium\Millennium\build\Release\python311.dll
copy D:\a\Millennium\Millennium\Python-3.11.8\PCbuild\win32\python311.dll D:/a/Millennium/Millennium/build/artifacts/python311.dll
copy D:\a\Millennium\Millennium\build\Release\user32.dll D:/a/Millennium/Millennium/build/artifacts/user32.dll
env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"

- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: millennium
path: D:/a/Millennium/Millennium/build/Release
path: D:/a/Millennium/Millennium/build/artifacts

0 comments on commit 9b84f5d

Please sign in to comment.