summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2021-02-23 08:30:36 +0000
committerGitHub <noreply@github.com>2021-02-24 07:17:19 +0000
commit0059fd03154408263082c877314493072f0810a2 (patch)
treee2f5759cccf37d6ca690f497976369bb6dedae8e
parentb8e5f43b082c5399bf1ee723c3fd3c19cecd843e (diff)
downloadrabbitmq-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.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: |