diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4957971..8ca6285 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,7 @@ jobs: - uses: ./ with: dfx-version: 0.7.2 + install-moc: true vessel-version: 0.6.2 - run: | dfx --version diff --git a/README.md b/README.md index cb00e99..7af2c26 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ steps: - uses: actions/checkout@v2 - uses: aviate-labs/setup-dfx@v0.2.2 with: - dfx-version: 0.7.1 + dfx-version: 0.7.2 + install-moc: true vessel-version: 0.6.1 - run: | dfx --version diff --git a/action.yml b/action.yml index 7f84a0f..f31e528 100644 --- a/action.yml +++ b/action.yml @@ -4,11 +4,11 @@ inputs: dfx-version: required: true description: 'The dfx version to download.' + install-moc: + description: 'Whether to install moc.' + default: false vessel-version: description: 'The vessel version to download.' - install-moc: - description: 'Whether to install moc. Default is true.' - default: true runs: using: 'node12' main: 'dist/index.js' diff --git a/package-lock.json b/package-lock.json index 2ee92e6..697dda8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,8 +1,61 @@ { "name": "setup-dfx", "version": "1.0.0", - "lockfileVersion": 1, + "lockfileVersion": 2, "requires": true, + "packages": { + "": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@actions/core": "^1.3.0", + "@actions/io": "^1.1.0" + }, + "devDependencies": { + "@types/node": "^15.12.1", + "@vercel/ncc": "^0.28.6", + "typescript": "^4.3.2" + } + }, + "node_modules/@actions/core": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.3.0.tgz", + "integrity": "sha512-xxtX0Cwdhb8LcgatfJkokqT8KzPvcIbwL9xpLU09nOwBzaStbfm0dNncsP0M4us+EpoPdWy7vbzU5vSOH7K6pg==" + }, + "node_modules/@actions/io": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.0.tgz", + "integrity": "sha512-PspSX7Z9zh2Fyyuf3F6BsYeXcYHfc/VJ1vwy2vouas95efHVd42M6UfBFRs+jY0uiMDXhAoUtATn9g2r1MaWBQ==" + }, + "node_modules/@types/node": { + "version": "15.12.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-15.12.1.tgz", + "integrity": "sha512-zyxJM8I1c9q5sRMtVF+zdd13Jt6RU4r4qfhTd7lQubyThvLfx6yYekWSQjGCGV2Tkecgxnlpl/DNlb6Hg+dmEw==", + "dev": true + }, + "node_modules/@vercel/ncc": { + "version": "0.28.6", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.28.6.tgz", + "integrity": "sha512-t4BoSSuyK8BZaUE0gV18V6bkFs4st7baumtFGa50dv1tMu2GDBEBF8sUZaKBdKiL6DzJ2D2+XVCwYWWDcQOYdQ==", + "dev": true, + "bin": { + "ncc": "dist/ncc/cli.js" + } + }, + "node_modules/typescript": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz", + "integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + } + }, "dependencies": { "@actions/core": { "version": "1.3.0",