diff --git a/.github/workflows/build-qt-5.15.yml b/.github/workflows/build-qt-5.15.yml index facd47f..2beafe8 100644 --- a/.github/workflows/build-qt-5.15.yml +++ b/.github/workflows/build-qt-5.15.yml @@ -12,7 +12,16 @@ jobs: uses: actions/checkout@v4 - name: Download Qt sources - run: .\download_sources.cmd + run: .\download_sources.cmd repack_sources + + - name: Upload patched Qt sources + uses: actions/upload-artifact@v4 + with: + name: Qt 5.15.13 patched src + path: | + src_archive/* + compression-level: 9 + retention-days: 5 - name: Install Qt jom run: .\install_jom.cmd diff --git a/download_sources.cmd b/download_sources.cmd index c3b880d..6925d70 100644 --- a/download_sources.cmd +++ b/download_sources.cmd @@ -38,6 +38,11 @@ pushd %~dp0src\qtsvg\ patch -p1 -i CVE-2023-32573-qtsvg-5.15.diff popd +if %1 == repack_sources ( + REM Pack patched Qt sources... + mkdir %~dp0src_archive && "C:\Program Files\7-Zip\7z.exe" a -t7z -mx=9 -mfb=273 -ms -md=31 -myx=9 -mtm=- -mmt -mmtf -md=1536m -mmf=bt3 -mmc=10000 -mpb=0 -mlc=0 %~dp0src_archive\qt-everywhere-opensource-src-5.15.13-patched.7z %~dp0src +) + :done REM dir %~dp0