删除 .github/workflows/build-exe.yml
This commit is contained in:
33
.github/workflows/build-exe.yml
vendored
33
.github/workflows/build-exe.yml
vendored
@@ -1,33 +0,0 @@
|
|||||||
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
|
|
||||||
Reference in New Issue
Block a user