From c8569cd3d7a08fc8f2f1d1bcf71d1f1e846de55b Mon Sep 17 00:00:00 2001 From: Mateo Pidal Date: Wed, 5 May 2021 17:35:03 -0300 Subject: [PATCH] Caches --- .github/workflows/qt.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/qt.yml b/.github/workflows/qt.yml index 6dad5f8b..1e5a1972 100644 --- a/.github/workflows/qt.yml +++ b/.github/workflows/qt.yml @@ -36,7 +36,7 @@ jobs: path: "%APPDATA%\\Qt" # The contents of the file contents: ${{ secrets.QTACCOUNT }} - + - name: Echo and PWD test shell: cmd run: echo "%APPDATA%\\Qt" @@ -44,17 +44,11 @@ jobs: - name: Download QT Installer run: | curl https://download.qt.io/new_archive/qt/5.6/5.6.3/qt-opensource-windows-x86-mingw492-5.6.3.exe --output installer.exe - - - name: Install QT - uses: jurplel/install-qt-action@v2.13.2 + + - name: Cache + uses: actions/cache@v2.1.5 with: - # Directory to install Qt - #dir: # optional - # Version of Qt to install - version: 5.6_preview # optional, default is 5.15.2 - # Host platform - host: windows # optional - # Target platform for build - target: desktop # optional, default is desktop - # Architecture for Windows/Android - arch: win32_mingw49 # optional + # A list of files, directories, and wildcard patterns to cache and restore + path: "installer.exe" + # An explicit key for restoring and saving the cache + key: ${{ runner.os }}-qt56-installer