Allow entries with same Job ID to match in different workflows

Fixes #1017
This commit is contained in:
daz 2024-01-02 13:21:16 -07:00
parent 270f30ba56
commit 0f286652df
No known key found for this signature in database
3 changed files with 9 additions and 34 deletions

View file

@ -17,10 +17,4 @@ describe('cacheUtils-utils', () => {
expect(posixHash).toBe(windowsHash)
})
})
describe('sanitizes workflow name in cache key', () => {
it('with comma', () => {
const cacheKey = cacheUtils.getCacheKeyForJob("Workflow, with,commas", "JOB_ID")
expect(cacheKey).toBe('workflow withcommas-JOB_ID')
})
})
})