Merge pull request #33 from hecrj/update-dependencies

Update dependencies
This commit is contained in:
Héctor Ramón 2022-11-01 18:50:30 +01:00 committed by GitHub
commit f7efc54806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 521 additions and 392 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

936
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -22,15 +22,15 @@
"dependencies": { "dependencies": {
"@actions/core": "^1.2.6", "@actions/core": "^1.2.6",
"@actions/exec": "^1.0.4", "@actions/exec": "^1.0.4",
"@actions/github": "^1.0.0", "@actions/github": "^5.1.1",
"@actions/io": "^1.0.0", "@actions/io": "^1.0.0",
"@actions/tool-cache": "^1.6.0", "@actions/tool-cache": "^2.0.1",
"semver": "^6.1.1" "semver": "^7.3.8"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^12.12.64", "@types/node": "^18.11.9",
"@types/semver": "^6.2.2", "@types/semver": "^7.3.13",
"@zeit/ncc": "^0.21.1", "@zeit/ncc": "^0.22.3",
"typescript": "^3.9.7" "typescript": "^4.8.4"
} }
} }

View File

@ -4,7 +4,6 @@ import * as rustup from './rustup';
import * as path from 'path'; import * as path from 'path';
async function run() { async function run() {
try {
const version = core.getInput('rust-version'); const version = core.getInput('rust-version');
const components = core.getInput('components') const components = core.getInput('components')
@ -33,10 +32,6 @@ async function run() {
const matchersPath = path.join(__dirname, '..', '.github'); const matchersPath = path.join(__dirname, '..', '.github');
console.log(`##[add-matcher]${path.join(matchersPath, 'rust.json')}`); console.log(`##[add-matcher]${path.join(matchersPath, 'rust.json')}`);
} catch (error) {
core.setFailed(error.message);
}
} }
run(); run();