Skip to content

Commit 316ae5f

Browse files
authored
Update test.yml
1 parent bec6141 commit 316ae5f

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Upload artifact
2828
uses: actions/upload-artifact@v4
2929
with:
30-
name: bin
30+
name: bin-ubuntu
3131
path: bin
3232
build-mac:
3333
runs-on: osx-latest
@@ -50,5 +50,24 @@ jobs:
5050
- name: Upload artifact
5151
uses: actions/upload-artifact@v4
5252
with:
53-
name: bin
53+
name: bin-mac
5454
path: bin
55+
build-win:
56+
runs-on: osx-latest
57+
steps:
58+
- uses: actions/checkout@v2
59+
# setup python
60+
- name: Set up Python 3.8
61+
uses: actions/setup-python@v2
62+
with:
63+
python-version: 3.8
64+
- name: Build binaries
65+
run: |
66+
pip install -r requirements.txt
67+
pip install pyinstaller
68+
pyinstaller --onefile __main__.py
69+
- name: Upload artifact
70+
uses: actions/upload-artifact@v4
71+
with:
72+
name: bin-win
73+
path: dist

0 commit comments

Comments
 (0)