Skip to content

Commit bb10752

Browse files
committed
Reduce size of builds
1 parent 7fade9b commit bb10752

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ jobs:
189189
- name: Deploy Qt Dependencies (Windows)
190190
if: runner.os == 'Windows' && matrix.gui != ''
191191
run: |
192-
windeployqt --qmldir packobf_gui dist/${{ matrix.gui }}
192+
windeployqt --qmldir packobf_gui --no-translations --no-opengl-sw --no-system-d3d-compiler --no-compiler-runtime dist/${{ matrix.gui }}
193193
194194
cp /c/Windows/System32/msvcp140.dll dist/
195195
cp /c/Windows/System32/vcruntime140.dll dist/
@@ -230,8 +230,9 @@ jobs:
230230
export APPIMAGE_EXTRACT_AND_RUN=1
231231
./linuxdeployqt-continuous-x86_64.AppImage dist/${{ matrix.gui }} -appimage -qmldir=packobf_gui
232232
233-
mv *.AppImage dist/ 2>/dev/null || true
234-
rm -f dist/packobf_gui.desktop dist/packobf_gui.png
233+
# The AppImage will already contain the license file
234+
rm -rf dist && mkdir -p dist
235+
mv *.AppImage dist/packobf-gui-${{ matrix.artifact }} 2>/dev/null || true
235236
236237
- name: Upload GUI Executable
237238
if: matrix.gui != ''

0 commit comments

Comments
 (0)