diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d3bb79016..91932012ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -144,6 +144,14 @@ jobs: 7z x -ocv2pdb -y cv2pdb.zip cd ${{ matrix.artifact_name }} ../cv2pdb/cv2pdb64.exe xemu.exe + - name: Strip binary + shell: bash + if: matrix.configuration == 'Release' + run: | + sudo apt install binutils-mingw-w64-x86-64 + x86_64-w64-mingw32-strip xemu.exe + - name: Package + run: mkdir ../dist 7z a -tzip ../dist/${{ matrix.artifact_name }}.zip * "-xr!*.pdb" 7z a -tzip ../dist/${{ matrix.artifact_name }}-pdb.zip "-ir!*.pdb"