mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
workflows: windows: Add cleanup step
Removal of things that will not be used in an installed app
This commit is contained in:
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
@@ -82,6 +82,12 @@ jobs:
|
|||||||
find $BUILD_PREFIX/lib/clapper-0.0/ -name '*\.dll' -type f -exec ldd "{}" \; | grep '\/mingw.*\.dll' -o | xargs -I{} cp -n "{}" $BUILD_PREFIX/bin
|
find $BUILD_PREFIX/lib/clapper-0.0/ -name '*\.dll' -type f -exec ldd "{}" \; | grep '\/mingw.*\.dll' -o | xargs -I{} cp -n "{}" $BUILD_PREFIX/bin
|
||||||
find $BUILD_PREFIX/lib/gstreamer-1.0/ -name '*\.dll' -type f -exec ldd "{}" \; | grep '\/mingw.*\.dll' -o | xargs -I{} cp -n "{}" $BUILD_PREFIX/bin
|
find $BUILD_PREFIX/lib/gstreamer-1.0/ -name '*\.dll' -type f -exec ldd "{}" \; | grep '\/mingw.*\.dll' -o | xargs -I{} cp -n "{}" $BUILD_PREFIX/bin
|
||||||
find $BUILD_PREFIX/lib/gio/ -name '*\.dll' -type f -exec ldd "{}" \; | grep '\/mingw.*\.dll' -o | xargs -I{} cp -n "{}" $BUILD_PREFIX/bin
|
find $BUILD_PREFIX/lib/gio/ -name '*\.dll' -type f -exec ldd "{}" \; | grep '\/mingw.*\.dll' -o | xargs -I{} cp -n "{}" $BUILD_PREFIX/bin
|
||||||
|
- name: Cleanup
|
||||||
|
run: |
|
||||||
|
BUILD_PREFIX="$GITHUB_WORKSPACE/clapper-win-${{ matrix.arch }}"
|
||||||
|
|
||||||
|
rm -rf $BUILD_PREFIX/include
|
||||||
|
rm -rf $BUILD_PREFIX/lib/pkgconfig
|
||||||
- name: Installer
|
- name: Installer
|
||||||
uses: Minionguyjpro/Inno-Setup-Action@v1.2.5
|
uses: Minionguyjpro/Inno-Setup-Action@v1.2.5
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user