Skip to content

Commit

Permalink
Add windows action
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Liu <[email protected]>
  • Loading branch information
andy0808 committed Aug 23, 2023
1 parent 652a1f0 commit a8126d4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: windows-build


on:
Expand Down Expand Up @@ -45,17 +45,17 @@ jobs:
run: |
echo "Prepare python requirements on $RUNNER_OS"
cd $GITHUB_WORKSPACE
cd ./mm/src
cd .\mm\src
pip3 install -r requirements.txt
- name: Build python project
id: build-project
run: |
cd $GITHUB_WORKSPACE
mkdir exe
cd ./mm/src
pyinstaller ./mm.py
mv dist/mm/* $GITHUB_WORKSPACE/exe
cd .\mm\src
pyinstaller .\mm.py
mv .\dist\mm\* $GITHUB_WORKSPACE\exe
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit a8126d4

Please sign in to comment.