Skip to content

Commit

Permalink
fix: pyinstall fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-Haku committed Jul 29, 2022
1 parent d413e6c commit b615f92
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, ubuntu-latest, macOS-latest ]
os: [ ubuntu-latest, macOS-latest, windows-latest ]

steps:
- uses: actions/checkout@v3
Expand All @@ -44,13 +44,13 @@ jobs:
- name: Build main(Windows)
if: ${{ runner.os == 'Windows' }}
run: |
pyinstaller ./main.py -p ./features.py
pyinstaller -F -w ./main.py -p ./features.py
move dist\main.exe .\
- name: Build main
if: ${{ runner.os != 'Windows' }}
run: |
pyinstaller ./main.py -p ./features.py
pyinstaller -F -w ./main.py -p ./features.py
mv ./dist/main ./
- name: Cleaning up build(Windows)
Expand All @@ -70,13 +70,13 @@ jobs:
if: ${{ runner.os == 'Windows' }}
run: |
pyinstaller -F ./upload.py
move dist\tool.exe .\
move dist\upload.exe .\
- name: Build upload
if: ${{ runner.os != 'Windows' }}
run: |
pyinstaller -F ./upload.py
mv ./dist/tool ./
mv ./dist/upload ./
- name: Cleaning up upload build(Windows)
if: ${{ runner.os == 'Windows' }}
Expand Down

0 comments on commit b615f92

Please sign in to comment.