Create main.yml

pull/1/head
geoffwhittington 2023-04-20 18:23:42 -04:00 zatwierdzone przez GitHub
rodzic 9ac29f7708
commit e03ac367af
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 34 dodań i 0 usunięć

34
.github/workflows/main.yml vendored 100644
Wyświetl plik

@ -0,0 +1,34 @@
name: Build Windows Executable
on:
create:
tags:
- v*
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
- name: Build executable
run: pyinstaller --name=myapp --onefile --windowed myapp.py
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: myapp
path: dist/myapp.exe