summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml18
1 files changed, 13 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index af5f313..e152789 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -57,14 +57,22 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
+
- uses: actions/cache@v2
with:
- path: c:\Users\runneradmin\AppData\Local\Temp\chocolatey
- # This caches the cache, no need to make sure that this is invalidated
- # chocolatey will do that for us.
- key: chocolatey-cache
+ path: ${{ github.workspace }}\.choco-cache
+ key: choco-cache-${{ runner.os }}-${{ hashFiles('.github/workflows/ci.yml') }}
+ restore-keys: |
+ choco-cache-${{ runner.os }}-${{ hashFiles('.github/workflows/ci.yml') }}
+ choco-cache-${{ runner.os }}-
+
- name: Install Prerequisites
- run: choco install openssl
+ run: |
+ New-Item -ItemType Directory -Force -Path ${{ github.workspace }}\.choco-cache
+ choco config set configLocation ${{ github.workspace }}\.choco-cache
+ choco install --no-progress openssl
+ Get-ChildItem -Path ${{ github.workspace }}\.choco-cache
+
- name: Configure Build & Test
shell: bash
run: |