mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-25 04:44:59 +00:00
WTF
This commit is contained in:
18
.github/workflows/qt.yml
vendored
18
.github/workflows/qt.yml
vendored
@@ -28,6 +28,15 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Creates QtAccount File
|
||||
uses: DamianReeves/write-file-action@v1.0
|
||||
if: steps.qt-cached.outputs.cache-hit != 'true'
|
||||
with:
|
||||
# The path to the file to write
|
||||
path: "C:\\Users\\runneradmin\\AppData\\Roaming\\Qt\\qtaccount.ini"
|
||||
# The contents of the file
|
||||
contents: ${{ secrets.QTACCOUNT }}
|
||||
|
||||
- name: Cache Qt Installed
|
||||
uses: actions/cache@v2.1.5
|
||||
@@ -47,15 +56,6 @@ jobs:
|
||||
path: "installer.exe"
|
||||
# An explicit key for restoring and saving the cache
|
||||
key: ${{ runner.os }}-qt56-installer
|
||||
|
||||
- name: Creates QtAccount File
|
||||
uses: DamianReeves/write-file-action@v1.0
|
||||
if: steps.qt-cached.outputs.cache-hit != 'true'
|
||||
with:
|
||||
# The path to the file to write
|
||||
path: "%APPDATA%\\Qt\\qtaccount.ini"
|
||||
# The contents of the file
|
||||
contents: ${{ secrets.QTACCOUNT }}
|
||||
|
||||
- name: Download Qt Installer
|
||||
if: steps.installer-cached.outputs.cache-hit != 'true' && steps.qt-cached.outputs.cache-hit != 'true'
|
||||
|
||||
Reference in New Issue
Block a user