This commit is contained in:
Mateo Pidal
2021-05-05 22:59:05 -03:00
committed by GitHub
parent 8d3b51c357
commit a0dd8784bc

View File

@@ -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'