|
42 | 42 | run: cp -rv OATFWGUI/ dist/ |
43 | 43 | - name: Copy bootstrap script into dist |
44 | 44 | run: cp -v scripts/OATFWGUI_Windows.bat dist/ |
| 45 | + - name: Prune unused windows files |
| 46 | + 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 |
45 | 55 |
|
46 | 56 | - name: Smoke test |
47 | 57 | run: ./dist/OATFWGUI_Windows.bat --no-gui |
|
50 | 60 | id: version |
51 | 61 | run: echo "::set-output name=VERSION::$(./dist/OATFWGUI_Windows.bat --version | tail -1)" |
52 | 62 |
|
| 63 | + - name: Remove local .platformio |
| 64 | + run: rm -r ./dist/.platformio |
53 | 65 | # Work around stupid issue that GHA can't store file permissions on artifacts |
54 | 66 | - name: Store which files are executable |
55 | 67 | run: pushd dist/ && find . -type f -executable -print > restore_executable_permissions.txt && popd |
|
90 | 102 | id: version |
91 | 103 | run: echo "::set-output name=VERSION::$(./dist/OATFWGUI_Linux.sh --version | tail -1)" |
92 | 104 |
|
| 105 | + - name: Remove local .platformio |
| 106 | + run: rm -r ./dist/.platformio |
93 | 107 | # Work around stupid issue that GHA can't store file permissions on artifacts |
94 | 108 | - name: Store which files are executable |
95 | 109 | run: pushd dist/ && find . -type f -executable -print > restore_executable_permissions.txt && popd |
|
0 commit comments