Skip to content

Merge pull request #1 from nlpng/update-upload-artifact-version #2

Merge pull request #1 from nlpng/update-upload-artifact-version

Merge pull request #1 from nlpng/update-upload-artifact-version #2

Workflow file for this run

name: Build for Windows
on:
push:
branches:
- main
jobs:
windows-build:
runs-on: windows-latest
steps:
- name: Checkout commit
uses: actions/checkout@master
- name: Set up Python 3.8
uses: actions/setup-python@master
with: { python-version: 3.8 }
- name: Upgrade pip
run: python -m pip install --upgrade pip PyInstaller
- name: Install packages
run: python -m pip install -r requirements.txt
- name: build
run: pyinstaller main_gui.py --onefile
- name: upload
uses: actions/upload-artifact@v3
with:
name: sample-windows
path: dist/sample.exe