Compare commits

...

45 Commits

Author SHA1 Message Date
Tanuj Kumar Mishra a8dcf7856e adding save-only and restore-only entry points 2022-12-08 10:35:19 +00:00
Tanuj Kumar Mishra d463e30c26 test 2022-12-08 08:24:08 +00:00
Tanuj Kumar Mishra 790b78c6b6 removing required
removing required
2022-12-07 17:25:00 +00:00
Tanuj Kumar Mishra 7520a6a3a9 altering require 2022-12-07 17:22:59 +00:00
Tanuj Kumar Mishra a5fbe79711 adding outputs 2022-12-07 17:07:30 +00:00
Tanuj Kumar Mishra 66ef8a0951 Merge pull request #1018 from actions/bishal/outputter
Update save with a wrapper layer
2022-12-07 17:03:07 +05:30
Bishal Prasad 657c52f11e fix merge 2022-12-06 18:45:12 +00:00
Bishal Prasad 34e917cb7d Merge branch '700-actionscache-granular-cache-control' into bishal/outputter 2022-12-06 18:42:19 +00:00
Bishal Prasad ac8fc97c06 update save as well 2022-12-06 18:26:58 +00:00
Sankalp Kotewar 86712a0733 dist 2022-12-06 10:10:52 +00:00
Sankalp Kotewar d6e98d9302 Calling methods from same file 2022-12-06 10:08:26 +00:00
Sankalp Kotewar a76826ef46 Removed commented lines 2022-12-06 10:07:30 +00:00
Sankalp Kotewar e02e5113ed Removed return type in promise 2022-12-06 10:03:48 +00:00
Sankalp Kotewar 85ae5bbcea Fixed breaking test case 2022-12-06 09:36:37 +00:00
Sankalp Kotewar cce93fb2c7 Generated dist 2022-12-06 08:23:10 +00:00
Sankalp Kotewar e3d8fb0b34 Merge pull request #1016 from actions/bishal/outputter
Refactor setting output and state into a generic outputter
2022-12-05 18:10:52 +05:30
Bishal Prasad d95c048983 refactor into a generic outputter 2022-12-05 11:36:14 +00:00
Sankalp Kotewar 706c369cf1 Merge branch 'main' into 700-actionscache-granular-cache-control 2022-12-05 12:24:53 +05:30
Sankalp Kotewar 11ab7ccfa2 Reverted custom asks implemented and added wrapper 2022-12-02 10:14:43 +00:00
Sankalp Kotewar 4b5f33df54 Updated new actions' input descriptions 2022-12-01 08:27:08 +00:00
Sankalp Kotewar 56a0133650 Merge branch 'main' into 700-actionscache-granular-cache-control 2022-11-30 16:20:50 +05:30
Sankalp Kotewar 19446b165a Slight modification for test cases check 2022-11-30 10:47:09 +00:00
Sankalp Kotewar 8a88690a20 Fixed test cases issues 2022-11-30 08:38:59 +00:00
Sankalp Kotewar 6e2c6a5916 Formatted document 2022-11-30 08:30:16 +00:00
Sankalp Kotewar 2c9fb32186 Merge branch 'main' into 700-actionscache-granular-cache-control 2022-11-30 13:57:39 +05:30
Sankalp Kotewar 01d96636a0 Some cleanup 2022-11-30 08:26:50 +00:00
Sankalp Kotewar 9c5a42a7c9 Added test cases 2022-11-30 08:11:55 +00:00
Sankalp Kotewar a172494938 Reverted wrapper changes 2022-11-29 10:56:53 +00:00
Sankalp Kotewar f8717682fb Impl separated 2022-11-29 09:55:41 +00:00
Sankalp Kotewar af1210e2a3 test 2022-11-29 09:51:53 +00:00
Sankalp Kotewar ab0e7714ce new try 2022-11-29 09:39:21 +00:00
Sankalp Kotewar fb4a5dce60 test 2022-11-29 09:33:03 +00:00
Sankalp Kotewar 71334c58b2 Test 2022-11-29 09:06:10 +00:00
Sankalp Kotewar 888d454557 experimenting 2022-11-29 09:03:19 +00:00
Sankalp Kotewar dddd7ce07c added debug logs 2022-11-29 08:26:52 +00:00
Sankalp Kotewar abddc4dd44 Merge remote-tracking branch 'origin/master' into 700-actionscache-granular-cache-control 2022-11-29 08:08:32 +00:00
Sankalp Kotewar 921c58ee44 Changed logs to warnings 2022-11-29 08:06:41 +00:00
Sankalp Kotewar 7f45813c72 Adding wrapper class 2022-11-29 08:02:27 +00:00
Vipul 0769f2e443 Merge branch 'main' into master 2022-11-28 23:50:15 -08:00
Sankalp Kotewar 5fe0b944ef Updated variable name 2022-11-29 07:48:11 +00:00
Sankalp Kotewar 69b8227b27 Basic implementation 2022-11-25 09:16:56 +00:00
Vipul 515d10b4fd Merge pull request #746 from actions/revert-173-add-stack-example
Revert "Add example for Haskell Stack"
2022-02-22 12:44:25 +05:30
Vipul 669e7536d9 Revert "Add example for Haskell Stack" 2022-02-22 12:17:37 +05:30
Vipul 29dbbce762 Merge pull request #173 from malob/add-stack-example
Add example for Haskell Stack
2022-02-22 12:11:06 +05:30
Malo Bourgon ea5981db97 Add example for Haskell Stack 2022-02-21 14:59:28 -08:00
21 changed files with 126001 additions and 2889 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye",
// Features to add to the dev container. More info: https://containers.dev/implementors/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install && npm run build"
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
+6 -7
View File
@@ -102,7 +102,7 @@ test("restore on GHES with AC available ", async () => {
const infoMock = jest.spyOn(core, "info");
const failedMock = jest.spyOn(core, "setFailed");
const stateMock = jest.spyOn(core, "saveState");
const setCacheHitOutputMock = jest.spyOn(actionUtils, "setCacheHitOutput");
const setCacheHitOutputMock = jest.spyOn(core, "setOutput");
const restoreCacheMock = jest
.spyOn(cache, "restoreCache")
.mockImplementationOnce(() => {