3
0
Fork 0
mirror of https://gitea.com/actions/setup-python.git synced 2024-11-21 17:49:35 +01:00

Updates to npm packages (#66)

* npm package updates

* Updates to ncc build
This commit is contained in:
Konrad Pabjan 2020-03-09 10:16:37 +01:00 committed by GitHub
parent 2ba2a92f71
commit 8ad00a65a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3786 additions and 3476 deletions

4256
dist/index.js vendored

File diff suppressed because it is too large Load diff

2070
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -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,

View file

@ -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);
}