Skip to content

Commit c912a75

Browse files
committed
chore: объединил этапы загрузки и распаковки
1 parent 351fdec commit c912a75

1 file changed

Lines changed: 4 additions & 28 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -18,37 +18,19 @@ jobs:
1818
- name: Checkout repository
1919
uses: actions/checkout@v4
2020

21-
- name: Download QtBase
21+
- name: Download Qt
2222
run: |
2323
curl -L -o qtbase.7z https://qt-mirror.dannhauer.de/online/qtsdkrepository/windows_x86/desktop/qt6_690/qt6_690/qt.qt6.690.win64_mingw/6.9.0-0-202503301022qtbase-Windows-Windows_10_22H2-Mingw-Windows-Windows_10_22H2-X86_64.7z
24-
25-
- name: Download QtTools
26-
run: |
2724
curl -L -o qttools.7z https://qt-mirror.dannhauer.de/online/qtsdkrepository/windows_x86/desktop/qt6_690/qt6_690/qt.qt6.690.win64_mingw/6.9.0-0-202503301022qttools-Windows-Windows_10_22H2-Mingw-Windows-Windows_10_22H2-X86_64.7z
28-
29-
- name: Download QtSvg
30-
run: |
3125
curl -L -o qtsvg.7z https://qt-mirror.dannhauer.de/online/qtsdkrepository/windows_x86/desktop/qt6_690/qt6_690/qt.qt6.690.win64_mingw/6.9.0-0-202503301022qtsvg-Windows-Windows_10_22H2-Mingw-Windows-Windows_10_22H2-X86_64.7z
32-
33-
- name: Download Extra
34-
run: |
3526
curl -L -o extra.7z https://qt-mirror.dannhauer.de/online/qtsdkrepository/windows_x86/desktop/qt6_690/qt6_690/qt.qt6.690.win64_mingw/6.9.0-0-202503301022MinGW-w64-x86_64-13.1.0-release-posix-seh-msvcrt-rt_v11-rev1-runtime.7z
36-
37-
- name: Extract QtBase
27+
28+
- name: Extract files
3829
run: |
3930
7z x qtbase.7z -oC:\Qt\6.9.0\mingw_64
40-
41-
- name: Extract QtTools
42-
run: |
4331
7z x qttools.7z -oC:\Qt\6.9.0\mingw_64
44-
45-
- name: Extract QtSvg
46-
run: |
4732
7z x qtsvg.7z -oC:\Qt\6.9.0\mingw_64
48-
49-
- name: Extract Extra
50-
run: |
51-
7z x extra.7z -oC:\Qt\6.9.0\mingw_64
33+
7z x extra.7z -oC:\Qt\6.9.0\mingw_64\bin
5234
5335
- name: Add MSYS2 to PATH
5436
uses: msys2/setup-msys2@v2
@@ -74,12 +56,6 @@ jobs:
7456
dir ${{ env.QT_DIR}}\bin
7557
dir build\bin
7658
77-
- name: Add Qt and MinGW to PATH
78-
shell: cmd
79-
run: |
80-
set PATH=C:\Qt\6.9.0\mingw_64\bin;%PATH%
81-
set PATH=C:\Qt\6.9.0\mingw_64\lib;%PATH%
82-
8359
- name: Run windeployqt
8460
shell: cmd
8561
run: |

0 commit comments

Comments
 (0)