Fix FreeBSD #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Upload - Windows | |
on: | |
push: | |
branches: | |
- nobridge | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
platform: [amd64, x86, arm64] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install PyInstaller | |
run: | | |
pip install pyinstaller | |
- name: Build with PyInstaller | |
run: | | |
pyinstaller --onefile main.py | |
Rename-Item -Path dist\main.exe -NewName umsktpy.exe | |
Copy-Item keys.json dist\keys.json | |
- name: Run umsktpy.exe | |
run: | | |
cd dist | |
.\umsktpy.exe | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: umsktpy-win-${{ matrix.platform }} | |
path: dist |