build: 移除旧的构建配置

This commit is contained in:
helloplhm-qwq 2023-12-02 13:35:15 +08:00
parent c3483d4982
commit 6246964718
No known key found for this signature in database
GPG Key ID: 6BE1B64B905567C7

View File

@ -1,40 +0,0 @@
# this workflow using github actions to build a binary exe file for windows users
name: build Windows exe
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
branches: [main]
jobs:
build-exe:
runs-on: windows-latest
steps:
- name: Checkout git repo
uses: actions/checkout@v2
- name: Setup Python 3.11
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install pyinstaller
run: python -m pip install pyinstaller
- name: Install dependencies
run: python -m pip install -r ./requirements.txt
- name: Build EXE
env:
actions: T
run: pyinstaller -F --name lx-music-api-server_${{ github.sha }} main.py
- name: Upload
uses: actions/upload-artifact@v2
with:
name: lx-music-api-server
path: ./dist