diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2021-02-23 08:30:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 07:17:19 +0000 |
commit | 0059fd03154408263082c877314493072f0810a2 (patch) | |
tree | e2f5759cccf37d6ca690f497976369bb6dedae8e | |
parent | b8e5f43b082c5399bf1ee723c3fd3c19cecd843e (diff) | |
download | rabbitmq-c-cache-openssl.tar.gz |
ci: specify the chocolately cache directorycache-openssl
Signed-off-by: GitHub <noreply@github.com>
-rw-r--r-- | .github/workflows/ci.yml | 18 |
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: | |