Files
Shortcut_Sync_PotPlayer/.github/workflows/build-exe.yml
miu 18b5ba9c43
Some checks failed
Build Windows EXE / build (push) Failing after 8s
更新 .github/workflows/build-exe.yml
2026-03-15 02:55:44 +08:00

33 lines
667 B
YAML

name: Build Windows EXE
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install deps
run: |
pip install pyinstaller keyboard pywin32
- name: Build EXE
run: |
pyinstaller --onefile --windowed --name Shortcut_Sync_PotPlayer main.py
- name: Upload
uses: actions/upload-artifact@v4
with:
name: exe
path: dist/Shortcut_Sync_PotPlayer.exe