From 234867bc77e1657ded8123065b364b71b2ef6db2 Mon Sep 17 00:00:00 2001 From: Sharll <106537475+Sharll-large@users.noreply.github.com> Date: Fri, 12 Jan 2024 23:03:12 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 46 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd9cda3..3547fdc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,10 +4,7 @@ name: Build FMCL on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + workflow_dispatch: permissions: contents: read @@ -23,23 +20,24 @@ jobs: spec: 'src/__main__.py' upload_exe_with_name: 'FMCL-win' options: -F, --name "My App", --windowed, - pyinstaller-build-linux: - runs-on: ubuntu-latest - steps: - - name: Create Executable - uses: sayyid5416/pyinstaller@v1 - with: - python_ver: '3.10' - spec: 'src/__main__.py' - upload_exe_with_name: 'FMCL-linux' - options: -F, --name "My App", --windowed, - pyinstaller-build-macos: - runs-on: macos-latest - steps: - - name: Create Executable - uses: sayyid5416/pyinstaller@v1 - with: - python_ver: '3.10' - spec: 'src/__main__.py' - upload_exe_with_name: 'FMCL-macos' - options: -F, --name "My App", --windowed, + + # pyinstaller-build-linux: + # runs-on: ubuntu-latest + # steps: + # - name: Create Executable + # uses: sayyid5416/pyinstaller@v1 + # with: + # python_ver: '3.10' + # spec: 'src/__main__.py' + # upload_exe_with_name: 'FMCL-linux' + # options: -F, --name "My App", --windowed, + # pyinstaller-build-macos: + # runs-on: macos-latest + # steps: + # - name: Create Executable + # uses: sayyid5416/pyinstaller@v1 + # with: + # python_ver: '3.10' + # spec: 'src/__main__.py' + # upload_exe_with_name: 'FMCL-macos' + # options: -F, --name "My App", --windowed,