Skip to content

Commit 5668fad

Browse files
More windows pruning
1 parent 25c0437 commit 5668fad

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

.github/workflows/build-and-release.yaml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,19 @@ jobs:
4444
run: cp -v scripts/OATFWGUI_Windows.bat dist/
4545
- name: Prune unused windows files
4646
run: |
47-
rm -v ./dist/.python_local/Lib/site-packages/PySide6/lupdate.exe || true
48-
rm -v ./dist/.python_local/Lib/site-packages/PySide6/Qt*Designer* || true
49-
rm -v ./dist/.python_local/Lib/site-packages/PySide6/Qt*Quick* || true
50-
rm -v ./dist/.python_local/Lib/site-packages/PySide6/Qt*Qml* || true
51-
rm -v ./dist/.python_local/Lib/site-packages/PySide6/Qt*Sql* || true
52-
rm -v ./dist/.python_local/Lib/site-packages/PySide6/Qt*Xml* || true
53-
rm -v ./dist/.python_local/Lib/site-packages/PySide6/linguist.exe || true
54-
rm -v ./dist/.python_local/Lib/site-packages/PySide6/designer.exe || true
47+
rm -v ./dist/.python_local/Lib/site-packages/PySide6/lupdate.exe
48+
rm -v ./dist/.python_local/Lib/site-packages/PySide6/Qt*Designer*
49+
rm -v ./dist/.python_local/Lib/site-packages/PySide6/Qt*Quick*
50+
rm -v ./dist/.python_local/Lib/site-packages/PySide6/Qt*Qml*
51+
rm -v ./dist/.python_local/Lib/site-packages/PySide6/Qt*Sql*
52+
rm -v ./dist/.python_local/Lib/site-packages/PySide6/Qt*Xml*
53+
rm -v ./dist/.python_local/Lib/site-packages/PySide6/Qt*DBus*
54+
rm -v ./dist/.python_local/Lib/site-packages/PySide6/linguist.exe
55+
rm -v ./dist/.python_local/Lib/site-packages/PySide6/designer.exe
56+
rm -v ./dist/.python_local/Lib/site-packages/PySide6/qmllint.exe
57+
rm -rv ./dist/.python_local/Lib/site-packages/PySide6/translations
58+
rm -rv ./dist/.python_local/Lib/site-packages/PySide6/examples
59+
rm -rv ./dist/.python_local/Lib/site-packages/PySide6/qml
5560
5661
- name: Smoke test
5762
run: ./dist/OATFWGUI_Windows.bat --no-gui
@@ -102,8 +107,6 @@ jobs:
102107
id: version
103108
run: echo "::set-output name=VERSION::$(./dist/OATFWGUI_Linux.sh --version | tail -1)"
104109

105-
- name: Remove local .platformio
106-
run: rm -r ./dist/.platformio
107110
# Work around stupid issue that GHA can't store file permissions on artifacts
108111
- name: Store which files are executable
109112
run: pushd dist/ && find . -type f -executable -print > restore_executable_permissions.txt && popd

0 commit comments

Comments
 (0)