12
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2026-07-03 21:59:30 +00:00

Switched to forked toolkit

This commit is contained in:
Boris Staal 2023-04-09 15:39:49 -05:00
parent 8cf0abb534
commit fed9ab945e
No known key found for this signature in database
70 changed files with 219203 additions and 26887 deletions

View file

@ -1,13 +1,13 @@
import * as core from "@actions/core";
import * as cache from "github-actions.cache-s3";
import * as cache from "../src/backend";
import { Events, Inputs, RefKey } from "../src/constants";
import run from "../src/save";
import * as actionUtils from "../src/utils/actionUtils";
import * as testUtils from "../src/utils/testUtils";
jest.mock("@actions/core");
jest.mock("../src/backend");
jest.mock("github-actions.cache-s3");
jest.mock("../src/utils/actionUtils");
beforeAll(() => {
@ -109,7 +109,11 @@ test("save with valid inputs uploads a cache", async () => {
{
uploadChunkSize: 4000000
},
{ credentials: { accessKeyId: "", secretAccessKey: "" }, region: "" },
{
credentials: { accessKeyId: "", secretAccessKey: "" },
forcePathStyle: true,
region: ""
},
""
);