|
1 | | -name: 'Install Build Dependencies' |
2 | | -description: 'Install vcpkg libraries and Qt environment for cross-platform builds' |
| 1 | +name: "Install Build Dependencies" |
| 2 | +description: "Install vcpkg libraries and Qt environment for cross-platform builds" |
3 | 3 |
|
4 | 4 | inputs: |
5 | 5 | vcpkg_libs: |
6 | | - description: 'vcpkg libraries to install' |
| 6 | + description: "vcpkg libraries to install" |
7 | 7 | required: false |
8 | | - default: 'breakpad crashpad freeimage giflib opencv[contrib,thread] tl-expected' |
| 8 | + default: "breakpad crashpad freeimage giflib opencv[contrib,thread] tl-expected" |
9 | 9 | type: string |
10 | 10 | qt_modules: |
11 | | - description: 'Qt modules to install' |
| 11 | + description: "Qt modules to install" |
12 | 12 | required: false |
13 | | - default: 'qt5compat qtnetworkauth qtimageformats' |
| 13 | + default: "qt5compat qtnetworkauth qtimageformats" |
14 | 14 | type: string |
15 | 15 | qt_ver: |
16 | | - description: 'Qt version to install' |
| 16 | + description: "Qt version to install" |
17 | 17 | required: false |
18 | | - default: '6.10.0' |
| 18 | + default: "6.10.1" |
19 | 19 | type: string |
20 | 20 |
|
21 | 21 | runs: |
22 | | - using: 'composite' |
| 22 | + using: "composite" |
23 | 23 |
|
24 | 24 | steps: |
25 | 25 | - name: Install Custom VCPKG |
26 | 26 | uses: RealChuan/install-vcpkg@main |
27 | | - |
| 27 | + |
28 | 28 | - name: Delete vcpkg.json |
29 | 29 | shell: bash |
30 | 30 | run: | |
31 | 31 | rm vcpkg.json |
32 | 32 |
|
33 | 33 | - name: Cache windows vcpkg |
34 | 34 | if: runner.os == 'Windows' |
35 | | - uses: actions/cache@v4 |
36 | | - with: |
| 35 | + uses: actions/cache@v5 |
| 36 | + with: |
37 | 37 | path: C:\vcpkg\installed |
38 | 38 | key: ${{ runner.os }}-vcpkg-installed-${{ github.sha }} |
39 | 39 | restore-keys: | |
|
42 | 42 |
|
43 | 43 | - name: Cache macos or linux vcpkg |
44 | 44 | if: runner.os == 'macOS' || runner.os == 'Linux' |
45 | | - uses: actions/cache@v4 |
46 | | - with: |
| 45 | + uses: actions/cache@v5 |
| 46 | + with: |
47 | 47 | path: /usr/local/share/vcpkg/installed |
48 | 48 | key: ${{ runner.os }}-vcpkg-installed-${{ github.sha }} |
49 | 49 | restore-keys: | |
|
60 | 60 | --clean-buildtrees-after-build --clean-packages-after-build \ |
61 | 61 | || (cat C:/vcpkg/installed/vcpkg/issue_body.md && exit 1) |
62 | 62 | # vcpkg install ${{ inputs.vcpkg_libs }} --triplet x64-windows-static-md \ |
63 | | - # --clean-buildtrees-after-build --clean-packages-after-build \ |
64 | | - # || (cat C:/vcpkg/installed/vcpkg/issue_body.md && exit 1) |
| 63 | + # --clean-buildtrees-after-build --clean-packages-after-build \ |
| 64 | + # || (cat C:/vcpkg/installed/vcpkg/issue_body.md && exit 1) |
65 | 65 |
|
66 | 66 | - name: Install dependencies on macos |
67 | 67 | if: runner.os == 'macOS' |
|
0 commit comments