Files
Shortcut_Sync_PotPlayer/.github/workflows/build-exe.yml

23 lines
649 B
YAML

name: Build Windows EXE with Full Image
on: [push]
jobs:
build:
runs-on: Ubuntu_docker_act
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
wine-xvfb python -m pip install --upgrade pip
wine-xvfb python -m pip install pyinstaller keyboard pywin32
- name: Build EXE
run: |
wine-xvfb python -m PyInstaller --onefile --windowed --name Shortcut_Sync_PotPlayer main.py
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Shortcut_Sync_PotPlayer
path: dist/Shortcut_Sync_PotPlayer.exe