From 624696471811fd6e5dbf6b9364cf1de07169ebfb Mon Sep 17 00:00:00 2001 From: helloplhm-qwq Date: Sat, 2 Dec 2023 13:35:15 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E7=A7=BB=E9=99=A4=E6=97=A7=E7=9A=84?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_binary.yml | 40 ------------------------------ 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/build_binary.yml diff --git a/.github/workflows/build_binary.yml b/.github/workflows/build_binary.yml deleted file mode 100644 index a606596..0000000 --- a/.github/workflows/build_binary.yml +++ /dev/null @@ -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 \ No newline at end of file