build windows exe with pyinstaller #1
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 | |
on: | |
push: | |
jobs: | |
build-windows: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Install Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.12' | |
architecture: 'x64' | |
- name: Install poetry | |
run: | | |
pip install poetry | |
- name: Build | |
run: | | |
poetry run build | |
- name: Upload artifacts | |
uses: actions/upload-artifacts@v2 | |
with: | |
name: Windows | |
path: dist/mapbuilder.exe |