mirror of
				https://git.mirrors.martin98.com/https://github.com/actions/setup-python
				synced 2025-10-31 13:41:06 +08:00 
			
		
		
		
	Updates to npm packages (#66)
* npm package updates * Updates to ncc build
This commit is contained in:
		
							parent
							
								
									2ba2a92f71
								
							
						
					
					
						commit
						8ad00a65a6
					
				
							
								
								
									
										5154
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5154
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										2076
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2076
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										26
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								package.json
									
									
									
									
									
								
							| @ -8,7 +8,7 @@ | |||||||
|     "build": "tsc", |     "build": "tsc", | ||||||
|     "format": "prettier --write **/*.ts", |     "format": "prettier --write **/*.ts", | ||||||
|     "format-check": "prettier --check **/*.ts", |     "format-check": "prettier --check **/*.ts", | ||||||
|     "release": "ncc build && git add -f dist/", |     "release": "ncc build src/setup-python.ts && git add -f dist/", | ||||||
|     "test": "jest" |     "test": "jest" | ||||||
|   }, |   }, | ||||||
|   "repository": { |   "repository": { | ||||||
| @ -23,22 +23,22 @@ | |||||||
|   "author": "GitHub", |   "author": "GitHub", | ||||||
|   "license": "MIT", |   "license": "MIT", | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@actions/core": "^1.0.0", |     "@actions/core": "^1.2.3", | ||||||
|     "@actions/tool-cache": "^1.0.0", |  | ||||||
|     "semver": "^6.1.1" |     "semver": "^6.1.1" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@actions/io": "^1.0.0", |     "@actions/io": "^1.0.2", | ||||||
|     "@types/jest": "^24.0.13", |     "@actions/tool-cache": "^1.3.2", | ||||||
|     "@types/node": "^12.0.4", |     "@types/jest": "^24.9.1", | ||||||
|     "@types/semver": "^6.0.0", |     "@types/node": "^12.12.29", | ||||||
|  |     "@types/semver": "^6.2.1", | ||||||
|     "@zeit/ncc": "^0.20.5", |     "@zeit/ncc": "^0.20.5", | ||||||
|     "husky": "^3.0.9", |     "husky": "^3.1.0", | ||||||
|     "jest": "^24.8.0", |     "jest": "^24.9.0", | ||||||
|     "jest-circus": "^24.7.1", |     "jest-circus": "^24.9.0", | ||||||
|     "prettier": "^1.17.1", |     "prettier": "^1.19.1", | ||||||
|     "ts-jest": "^24.0.2", |     "ts-jest": "^24.3.0", | ||||||
|     "typescript": "^3.5.1" |     "typescript": "^3.8.3" | ||||||
|   }, |   }, | ||||||
|   "husky": { |   "husky": { | ||||||
|     "skipCI": true, |     "skipCI": true, | ||||||
|  | |||||||
| @ -8,12 +8,10 @@ async function run() { | |||||||
|     if (version) { |     if (version) { | ||||||
|       const arch: string = core.getInput('architecture', {required: true}); |       const arch: string = core.getInput('architecture', {required: true}); | ||||||
|       const installed = await finder.findPythonVersion(version, arch); |       const installed = await finder.findPythonVersion(version, arch); | ||||||
|       console.log( |       core.info(`Successfully setup ${installed.impl} (${installed.version})`); | ||||||
|         `Successfully setup ${installed.impl} (${installed.version}).` |  | ||||||
|       ); |  | ||||||
|     } |     } | ||||||
|     const matchersPath = path.join(__dirname, '..', '.github'); |     const matchersPath = path.join(__dirname, '..', '.github'); | ||||||
|     console.log(`##[add-matcher]${path.join(matchersPath, 'python.json')}`); |     core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`); | ||||||
|   } catch (err) { |   } catch (err) { | ||||||
|     core.setFailed(err.message); |     core.setFailed(err.message); | ||||||
|   } |   } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Konrad Pabjan
						Konrad Pabjan