Skip to content

Commit

Permalink
ci: Add Run Installer
Browse files Browse the repository at this point in the history
  • Loading branch information
vasylskorych committed Mar 12, 2024
1 parent 5e6ec35 commit 8fa68cd
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,20 @@ jobs:
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2

- name: Cache Qt
id: cache-qt
uses: actions/cache@v4
with:
path: ${{github.workspace}}/ExternalLibraries/qt
key: ${{runner.os}}-QtCache-${{env.QT_VERSION}}
# - name: Cache Qt
# id: cache-qt
# uses: actions/cache@v4
# with:
# path: ${{github.workspace}}/ExternalLibraries/qt
# key: ${{runner.os}}-QtCache-${{env.QT_VERSION}}

- name: Install Qt 32
uses: jurplel/install-qt-action@v3
with:
# Whether to cache Qt automatically.
cache: 'true'
# If cached, only install essential build tools and set environmental variables.
cache: ${{steps.cache-qt.outputs.cache-hit}}
cache-key-prefix: 'cache-qt-32'
# Version of Qt to install.
version: ${{env.QT_VERSION}}
# Architecture.
Expand All @@ -63,8 +65,10 @@ jobs:
- name: Install Qt 64
uses: jurplel/install-qt-action@v3
with:
# Whether to cache Qt automatically.
cache: 'true'
# If cached, only install essential build tools and set environmental variables.
cache: ${{steps.cache-qt.outputs.cache-hit}}
cache-key-prefix: 'cache-qt-64'
# Version of Qt to install.
version: ${{env.QT_VERSION}}
# Architecture.
Expand Down Expand Up @@ -258,18 +262,13 @@ jobs:
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2

- name: Cache Qt
id: cache-qt
uses: actions/cache@v4
with:
path: ${{github.workspace}}/ExternalLibraries/qt
key: ${{runner.os}}-QtCache-${{env.QT_VERSION}}

- name: Install Qt 32
uses: jurplel/install-qt-action@v3
with:
# Whether to cache Qt automatically.
cache: 'true'
# If cached, only install essential build tools and set environmental variables.
cache: ${{steps.cache-qt.outputs.cache-hit}}
cache-key-prefix: 'cache-qt-32'
# Version of Qt to install.
version: ${{env.QT_VERSION}}
# Architecture.
Expand All @@ -282,6 +281,10 @@ jobs:
- name: Install Qt 64
uses: jurplel/install-qt-action@v3
with:
# Whether to cache Qt automatically.
cache: 'true'
# If cached, only install essential build tools and set environmental variables.
cache-key-prefix: 'cache-qt-64'
# If cached, only install essential build tools and set environmental variables.
cache: ${{steps.cache-qt.outputs.cache-hit}}
# Version of Qt to install.
Expand Down

0 comments on commit 8fa68cd

Please sign in to comment.