Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharll-large authored Jan 12, 2024
1 parent 445abcd commit 234867b
Showing 1 changed file with 22 additions and 24 deletions.
46 changes: 22 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
name: Build FMCL

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

permissions:
contents: read
Expand All @@ -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,

0 comments on commit 234867b

Please sign in to comment.