mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-05-23 19:17:41 +08:00
chore: 放弃
可恶,签名签不上了
This commit is contained in:
parent
a55e76fcec
commit
4e004ff33f
28
.github/workflows/build_binary.yml
vendored
28
.github/workflows/build_binary.yml
vendored
@ -1,4 +1,6 @@
|
||||
name: build Windows and Linux executables
|
||||
# this workflow using github actions to build a binary exe file for windows users
|
||||
|
||||
name: build Windows exe
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -9,12 +11,8 @@ on:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
arch: [x64]
|
||||
build-exe:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout git repo
|
||||
uses: actions/checkout@v2
|
||||
@ -29,20 +27,14 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: python -m pip install -r ./requirements.txt
|
||||
|
||||
|
||||
- name: Build EXE
|
||||
if: matrix.os == 'windows-latest'
|
||||
env:
|
||||
actions: T
|
||||
run: pyinstaller -F --name lx-music-api-server_${{ github.sha }}_win_${{ matrix.os }} main.py
|
||||
- name: Build Linux Executable
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
env:
|
||||
actions: E
|
||||
run: pyinstaller -F --name lx-music-api-server_${{ github.sha }}_linux_${{ matrix.os }} main.py
|
||||
|
||||
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
|
||||
name: lx-music-api-server
|
||||
path: ./dist
|
Loading…
x
Reference in New Issue
Block a user