Include the bundle version in the toolcache version number
This gives us an easy cache hit when requesting the same tools URL.
This commit is contained in:
parent
c2e39e078f
commit
33206d299e
6 changed files with 23 additions and 15 deletions
|
|
@ -265,7 +265,7 @@ test("tries to cache an explicitly requested bundle with its CLI version number"
|
|||
false
|
||||
);
|
||||
t.assert(releaseApiMock.isDone(), "Releases API should have been called");
|
||||
t.assert(toolcache.find("CodeQL", "2.10.0"));
|
||||
t.assert(toolcache.find("CodeQL", "2.10.0-20200610"));
|
||||
t.deepEqual(result.toolsVersion, "0.0.0-20200610");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue