mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-06-07 08:46:10 +02:00
Add patch for @actions/cache to expose entry size
There's no easy way to get the size of restored/saved cache entries using the @actions/cache library. Rather than reimplement it, this commit adds a patch that will be applied whenever 'npm install' is run. The work is done by 'patch-package'.
This commit is contained in:
parent
d785346c8c
commit
3ba05ede1f
3 changed files with 334 additions and 21 deletions
|
@ -4,6 +4,7 @@
|
|||
"private": true,
|
||||
"description": "Execute Gradle Build",
|
||||
"scripts": {
|
||||
"postinstall": "patch-package",
|
||||
"format": "prettier --write **/*.ts",
|
||||
"format-check": "prettier --check **/*.ts",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
|
@ -30,6 +31,7 @@
|
|||
"@actions/glob": "0.2.0",
|
||||
"@actions/http-client": "1.0.11",
|
||||
"@actions/tool-cache": "1.7.1",
|
||||
"patch-package": "6.4.7",
|
||||
"string-argv": "0.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue