mirror of
https://github.com/actions/setup-python.git
synced 2024-11-28 20:05:21 +01:00
Updates to npm packages (#66)
* npm package updates * Updates to ncc build
This commit is contained in:
parent
2ba2a92f71
commit
8ad00a65a6
4 changed files with 3786 additions and 3476 deletions
4256
dist/index.js
vendored
4256
dist/index.js
vendored
File diff suppressed because it is too large
Load diff
2070
package-lock.json
generated
2070
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",
|
||||
"format": "prettier --write **/*.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"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -23,22 +23,22 @@
|
|||
"author": "GitHub",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.0.0",
|
||||
"@actions/tool-cache": "^1.0.0",
|
||||
"@actions/core": "^1.2.3",
|
||||
"semver": "^6.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@actions/io": "^1.0.0",
|
||||
"@types/jest": "^24.0.13",
|
||||
"@types/node": "^12.0.4",
|
||||
"@types/semver": "^6.0.0",
|
||||
"@actions/io": "^1.0.2",
|
||||
"@actions/tool-cache": "^1.3.2",
|
||||
"@types/jest": "^24.9.1",
|
||||
"@types/node": "^12.12.29",
|
||||
"@types/semver": "^6.2.1",
|
||||
"@zeit/ncc": "^0.20.5",
|
||||
"husky": "^3.0.9",
|
||||
"jest": "^24.8.0",
|
||||
"jest-circus": "^24.7.1",
|
||||
"prettier": "^1.17.1",
|
||||
"ts-jest": "^24.0.2",
|
||||
"typescript": "^3.5.1"
|
||||
"husky": "^3.1.0",
|
||||
"jest": "^24.9.0",
|
||||
"jest-circus": "^24.9.0",
|
||||
"prettier": "^1.19.1",
|
||||
"ts-jest": "^24.3.0",
|
||||
"typescript": "^3.8.3"
|
||||
},
|
||||
"husky": {
|
||||
"skipCI": true,
|
||||
|
|
|
@ -8,12 +8,10 @@ async function run() {
|
|||
if (version) {
|
||||
const arch: string = core.getInput('architecture', {required: true});
|
||||
const installed = await finder.findPythonVersion(version, arch);
|
||||
console.log(
|
||||
`Successfully setup ${installed.impl} (${installed.version}).`
|
||||
);
|
||||
core.info(`Successfully setup ${installed.impl} (${installed.version})`);
|
||||
}
|
||||
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) {
|
||||
core.setFailed(err.message);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue