@@ -100,28 +100,29 @@ jobs:
100100 "@ | Out-File -FilePath "version-info.txt" -Encoding utf8
101101
102102 - name : Build ${{ matrix.name }}
103- run : >
104- pyinstaller -y -F ${{ matrix.mode }}
105- -i "extra/DUCE-LOGO.ico"
106- --clean
107- --upx-dir="./"
108- --upx-args="--best --lzma --compress-icons=2"
109- --name "${{ matrix.name }}"
110- --add-data "base.py;."
111- --add-data "colors.py;."
112- --add-data "default-duce-${{ matrix.script }}-settings.json;."
113- --add-data "README.md;."
114- --add-data "LICENSE;."
115- --exclude-module tkinter
116- --exclude-module matplotlib
117- --exclude-module PyQt5
118- --exclude-module numpy
119- --exclude-module wx
120- --exclude-module scipy
121- --exclude-module PIL
122- --exclude-module pandas
123- --version-file="version-info.txt"
124- "${{ matrix.script }}.py"
103+ shell : bash
104+ run : |
105+ pyinstaller -y -F ${{ matrix.mode }} \
106+ -i "extra/DUCE-LOGO.ico" \
107+ --clean \
108+ --upx-dir="./" \
109+ --upx-args="--best --lzma --compress-icons=2" \
110+ --name "${{ matrix.name }}" \
111+ --add-data "base.py;." \
112+ --add-data "colors.py;." \
113+ --add-data "default-duce-${{ matrix.script }}-settings.json;." \
114+ --add-data "README.md;." \
115+ --add-data "LICENSE;." \
116+ --exclude-module tkinter \
117+ --exclude-module matplotlib \
118+ --exclude-module PyQt5 \
119+ --exclude-module numpy \
120+ --exclude-module wx \
121+ --exclude-module scipy \
122+ --exclude-module PIL \
123+ --exclude-module pandas \
124+ --version-file="version-info.txt" \
125+ "${{ matrix.script }}.py"
125126 env :
126127 VERSION : ${{ steps.extract_version.outputs.VERSION }}
127128
0 commit comments