* implement a core logic to cache dependnecies * integrate the cache logic to entry points * add a user doc about the dependency cache feature * reflect changes to the dist dir * add a prefix to the cache key https://github.com/actions/setup-java/pull/193/files#r669521434 * test: extract build.gradle to a file in __tests__ dir * run the restore e2e test on the specified OS * add an e2e test for maven * fix the dependency among workflows * stabilize the cache on the Windows in e2e test * add .gitignore files to __tests__/cache directories * try to run restore after the authentication * use the key in state to save caches in the post process * suggest users to run without daemon if fail to save Gradle cache on Windows * add missing description in the README.md * run clean-up tasks in serial * Add validation for post step (#3) * work on fixing cache post step * fix tests * Update src/cleanup-java.ts Co-authored-by: Konrad Pabjan <konradpabjan@github.com> * Update src/cache.ts Co-authored-by: Konrad Pabjan <konradpabjan@github.com> * style: put the name of input to the constants.ts * format: run `npm run build` to reflect changes to the dist dir * chore: update licensed files by `licensed cache` it still has three errors as follows: >* setup-java.npm.sax > filename: /Users/kengo/GitHub/setup-java/.licenses/npm/sax.dep.yml > - license needs review: other > >* setup-java.npm.tslib-1.14.1 > filename: /Users/kengo/GitHub/setup-java/.licenses/npm/tslib-1.14.1.dep.yml > - license needs review: 0bsd > >* setup-java.npm.tslib-2.3.0 > filename: /Users/kengo/GitHub/setup-java/.licenses/npm/tslib-2.3.0.dep.yml > - license needs review: 0bsd * fix: rerun ncc on macOS with node v12 * build: follow the suggestion at PR page https://github.com/actions/setup-java/pull/193#issuecomment-901839546 * fix: throw error in case of no package manager file found Co-authored-by: Dmitry Shibanov <dmitry-shibanov@github.com> Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
		
			
				
	
	
		
			57 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
		
			Generated
		
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
		
			Generated
		
	
	
| ---
 | |
| name: node-fetch
 | |
| version: 2.6.1
 | |
| type: npm
 | |
| summary: A light-weight module that brings window.fetch to node.js
 | |
| homepage: https://github.com/bitinn/node-fetch
 | |
| license: mit
 | |
| licenses:
 | |
| - sources: LICENSE.md
 | |
|   text: |+
 | |
|     The MIT License (MIT)
 | |
| 
 | |
|     Copyright (c) 2016 David Frank
 | |
| 
 | |
|     Permission is hereby granted, free of charge, to any person obtaining a copy
 | |
|     of this software and associated documentation files (the "Software"), to deal
 | |
|     in the Software without restriction, including without limitation the rights
 | |
|     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 | |
|     copies of the Software, and to permit persons to whom the Software is
 | |
|     furnished to do so, subject to the following conditions:
 | |
| 
 | |
|     The above copyright notice and this permission notice shall be included in all
 | |
|     copies or substantial portions of the Software.
 | |
| 
 | |
|     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 | |
|     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 | |
|     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 | |
|     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 | |
|     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 | |
|     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 | |
|     SOFTWARE.
 | |
| 
 | |
| - sources: README.md
 | |
|   text: |-
 | |
|     MIT
 | |
| 
 | |
|     [npm-image]: https://flat.badgen.net/npm/v/node-fetch
 | |
|     [npm-url]: https://www.npmjs.com/package/node-fetch
 | |
|     [travis-image]: https://flat.badgen.net/travis/bitinn/node-fetch
 | |
|     [travis-url]: https://travis-ci.org/bitinn/node-fetch
 | |
|     [codecov-image]: https://flat.badgen.net/codecov/c/github/bitinn/node-fetch/master
 | |
|     [codecov-url]: https://codecov.io/gh/bitinn/node-fetch
 | |
|     [install-size-image]: https://flat.badgen.net/packagephobia/install/node-fetch
 | |
|     [install-size-url]: https://packagephobia.now.sh/result?p=node-fetch
 | |
|     [discord-image]: https://img.shields.io/discord/619915844268326952?color=%237289DA&label=Discord&style=flat-square
 | |
|     [discord-url]: https://discord.gg/Zxbndcm
 | |
|     [opencollective-image]: https://opencollective.com/node-fetch/backers.svg
 | |
|     [opencollective-url]: https://opencollective.com/node-fetch
 | |
|     [whatwg-fetch]: https://fetch.spec.whatwg.org/
 | |
|     [response-init]: https://fetch.spec.whatwg.org/#responseinit
 | |
|     [node-readable]: https://nodejs.org/api/stream.html#stream_readable_streams
 | |
|     [mdn-headers]: https://developer.mozilla.org/en-US/docs/Web/API/Headers
 | |
|     [LIMITS.md]: https://github.com/bitinn/node-fetch/blob/master/LIMITS.md
 | |
|     [ERROR-HANDLING.md]: https://github.com/bitinn/node-fetch/blob/master/ERROR-HANDLING.md
 | |
|     [UPGRADE-GUIDE.md]: https://github.com/bitinn/node-fetch/blob/master/UPGRADE-GUIDE.md
 | |
| notices: []
 |