From 30ca1427d371d468305ee9c95e083d795271f682 Mon Sep 17 00:00:00 2001 From: Rob van der Leek <5324924+robvanderleek@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:05:13 +0200 Subject: [PATCH] fix: Bundle all files --- .github/workflows/release.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bfd4690..074aa68 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,17 +71,21 @@ jobs: - os: macos-latest TARGET: macos CMD_BUILD: | - poetry run pyinstaller -n codelimit -F codelimit/__main__.py + poetry run pyinstaller --collect-submodules codelimit.languages \ + -n codelimit -F codelimit/__main__.py mv dist/codelimit dist/codelimit-macos OUT_FILE_NAME: dist/codelimit-macos - os: windows-latest TARGET: windows - CMD_BUILD: poetry run pyinstaller --onefile -c -n codelimit codelimit/__main__.py + CMD_BUILD: | + poetry run pyinstaller --collect-submodules codelimit.languages \ + -n codelimit --onefile -c codelimit/__main__.py OUT_FILE_NAME: dist/codelimit.exe - os: ubuntu-latest TARGET: linux CMD_BUILD: | - poetry run pyinstaller -n codelimit -F codelimit/__main__.py + poetry run pyinstaller --collect-submodules codelimit.languages \ + -n codelimit -F codelimit/__main__.py mv dist/codelimit dist/codelimit-linux OUT_FILE_NAME: dist/codelimit-linux steps: