mirror of
https://github.com/tailscale/github-action.git
synced 2026-08-20 15:19:21 +00:00
testing cache
This commit is contained in:
parent
546937c0d1
commit
45f855162c
2 changed files with 2 additions and 1 deletions
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
|
@ -139,7 +139,6 @@ jobs:
|
|||
audience: ${{ matrix.credential-type == 'workload-identity' && secrets.TS_AUDIENCE || ''}}
|
||||
tags: "tag:ci"
|
||||
version: "${{ matrix.version }}"
|
||||
use-cache: false
|
||||
timeout: "5m"
|
||||
retry: 3
|
||||
ping: "${{ matrix.ping }}"
|
||||
|
|
|
|||
|
|
@ -387,6 +387,8 @@ async function installTailscale(
|
|||
const cacheKey = generateCacheKey(config, runnerOS);
|
||||
const toolPath = getToolPath(config, runnerOS);
|
||||
|
||||
logInfo(config.logMode, `cache key is ${cacheKey} and tool path is ${toolPath}`);
|
||||
|
||||
// Try to restore from cache first
|
||||
if (config.useCache && cacheKey) {
|
||||
const cacheHit = await cache.restoreCache([toolPath], cacheKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue