Skip to content

Commit 4f5cfa4

Browse files
committed
Removed UPX for macOS.
1 parent cb29b31 commit 4f5cfa4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
python -m pip install --upgrade pip
2727
pip install pyinstaller openai-whisper==20240930 sounddevice scipy python-docx fpdf beautifulsoup4 pywebview
2828
29-
- name: Install UPX (Linux and macOS only)
30-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
29+
- name: Install UPX for Linux
30+
if: matrix.os == 'ubuntu-latest'
3131
run: |
32-
sudo apt-get install upx-ucl || brew install upx
32+
sudo apt-get install upx-ucl
3333
3434
- name: Install UPX for Windows
3535
if: matrix.os == 'windows-latest'
@@ -56,8 +56,8 @@ jobs:
5656
run: |
5757
strip dist/Scriptify
5858
59-
- name: Compress Executable with UPX (Linux and macOS)
60-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
59+
- name: Compress Executable with UPX for Linux
60+
if: matrix.os == 'ubuntu-latest'
6161
run: |
6262
upx --best dist/Scriptify
6363
@@ -68,7 +68,7 @@ jobs:
6868
--add-data "web:web" --add-data "js:js" --add-data "index.html:." --add-data "launch.html:." --add-data "style.css:." `
6969
main.py --version-file version_info.txt
7070
71-
- name: Compress Executable with UPX (Windows)
71+
- name: Compress Executable with UPX for Windows
7272
if: matrix.os == 'windows-latest'
7373
run: |
7474
upx --best dist/Scriptify.exe

0 commit comments

Comments
 (0)