Skip to content

Commit

Permalink
Publish patched sources
Browse files Browse the repository at this point in the history
  • Loading branch information
LumitoLuma committed Mar 26, 2024
1 parent ef36d08 commit f85284b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build-qt-5.15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions download_sources.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f85284b

Please sign in to comment.