mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-25 04:44:59 +00:00
fix Qt install & Cache it
This commit is contained in:
12
.github/workflows/qt.yml
vendored
12
.github/workflows/qt.yml
vendored
@@ -50,6 +50,15 @@ jobs:
|
||||
# An explicit key for restoring and saving the cache
|
||||
key: ${{ runner.os }}-qt56-installer
|
||||
|
||||
- name: Cache Qt
|
||||
uses: actions/cache@v2.1.5
|
||||
id: qt-cached
|
||||
with:
|
||||
# A list of files, directories, and wildcard patterns to cache and restore
|
||||
path: "C:/Qt"
|
||||
# An explicit key for restoring and saving the cache
|
||||
key: ${{ runner.os }}-qt56-installed
|
||||
|
||||
- name: Download Qt Installer
|
||||
if: steps.installer-cached.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
@@ -57,9 +66,10 @@ jobs:
|
||||
|
||||
- name: Download Qt non-Interactive Script
|
||||
run: |
|
||||
curl https://gist.githubusercontent.com/PibePlayer/cf6bd0a9f7e4d51e3e618ceedfba4b94/raw/bf2a0fb18fa7358b048efb329c370b0de26ca7f7/qt-installer-noninteractive.qs --output nonInteractive.qs
|
||||
curl https://gist.githubusercontent.com/PibePlayer/cf6bd0a9f7e4d51e3e618ceedfba4b94/raw/3c31c42844a8dc4be79f3ca87a63d30a8982dbef/qt-installer-noninteractive.qs --output nonInteractive.qs
|
||||
|
||||
- name: Install Qt 5.6.3
|
||||
if: steps.qt-cached.outputs.cache-hit != 'true'
|
||||
shell: cmd
|
||||
run: |
|
||||
installer.exe -v --script nonInteractive.qs --silent
|
||||
|
||||
Reference in New Issue
Block a user