Skip to content

update upload-artifact-v4 and specify output name #3

update upload-artifact-v4 and specify output name

update upload-artifact-v4 and specify output name #3

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@v4
with:
name: sample-windows
path: dist/main_gui.exe