diff options
author | Saturneric <[email protected]> | 2021-06-21 08:41:27 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-21 08:41:27 +0000 |
commit | 265f711d853e62bd9b6a52acb420354c182c16b4 (patch) | |
tree | 67128468f6fe69ca87afa3bfb9f1e65c457677d2 | |
parent | Fix WorkFlow Problem. (diff) | |
download | GpgFrontend-265f711d853e62bd9b6a52acb420354c182c16b4.tar.gz GpgFrontend-265f711d853e62bd9b6a52acb420354c182c16b4.zip |
Add Cache Support for Workflow.
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/cmake.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 7cc7a53d..f2036448 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -42,15 +42,26 @@ jobs: brew install cmake git autoconf automake qt@5 if: matrix.os == 'macos-latest' + + - name: Cache Qt + id: cache-qt + uses: actions/cache@v1 + with: + path: ../Qt + key: ${{ runner.os }}-QtCache + if: matrix.os == 'ubuntu-latest' + - name: Install Qt uses: jurplel/install-qt-action@v2 + with: + cached: ${{ steps.cache-qt.outputs.cache-hit }} if: matrix.os == 'ubuntu-latest' - name: Set up MinGW (Windows) uses: msys2/setup-msys2@v2 with: install: git msys2-devel base-devel binutils pactoys-git mercurial cvs wget p7zip perl ruby mingw-w64-x86_64-toolchain - update: true + release: false if: matrix.os == 'windows-latest' - name: Set up Dependence (Windows) |