diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-08-02 19:24:15 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-08-02 19:24:15 -0700 |
commit | cad61f92776c2680ea4e5fe0ecb7e29d62e3b83a (patch) | |
tree | 545e86b62df468f19ff656b2bed6d0d322777792 /.github/workflows/main.yaml | |
parent | 54111067474b62f652c157a5f5289c9eba2555e5 (diff) | |
download | sncontinue-cad61f92776c2680ea4e5fe0ecb7e29d62e3b83a.tar.gz sncontinue-cad61f92776c2680ea4e5fe0ecb7e29d62e3b83a.tar.bz2 sncontinue-cad61f92776c2680ea4e5fe0ecb7e29d62e3b83a.zip |
semi-colon for windows in --add-data flag
Diffstat (limited to '.github/workflows/main.yaml')
-rw-r--r-- | .github/workflows/main.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1309aa24..f915419c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -31,7 +31,13 @@ jobs: run: | pip install -r continuedev/requirements.txt - - run: pyinstaller run.py --exclude-module numpy --exclude-module jedi -F --add-data 'continuedev:continuedev' --hidden-import=anthropic --hidden-import=github + - name: Build PyInstaller Executable + run: | + if [[ "${{ runner.os }}" == "Windows" ]]; then + pyinstaller run.py --exclude-module numpy --exclude-module jedi -F --add-data 'continuedev;continuedev' --hidden-import=anthropic --hidden-import=github + else + pyinstaller run.py --exclude-module numpy --exclude-module jedi -F --add-data 'continuedev:continuedev' --hidden-import=anthropic --hidden-import=github + fi - name: Set permissions run: | |