diff --git a/.github/workflows/bat.yml b/.github/workflows/bat.yml index e7d2e69..a20485a 100644 --- a/.github/workflows/bat.yml +++ b/.github/workflows/bat.yml @@ -6,15 +6,15 @@ jobs: name: Build and Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: "12" + node-version: 16 - name: Perform npm tasks run: npm run ci - name: Perform 'setup-matlab' - uses: matlab-actions/setup-matlab@v0 + uses: matlab-actions/setup-matlab@v1 - name: Greet the world in style uses: ./ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d69edcd..7b22884 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,16 +12,16 @@ jobs: tag: ${{ steps.update-package-version.outputs.version }} steps: # Configure runner with the right stuff - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - name: Configure git run: | git config user.name 'Release Action' git config user.email '<>' - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: - node-version: "12" + node-version: 16 # Call `npm version`. It increments the version and commits the changes. # We'll save the output (new version string) for use in the following diff --git a/action.yml b/action.yml index 35f4edf..3ac9a89 100644 --- a/action.yml +++ b/action.yml @@ -9,5 +9,5 @@ inputs: Script, function, or statement to execute required: true runs: - using: node12 + using: node16 main: dist/index.js diff --git a/package-lock.json b/package-lock.json index b478375..529d8b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,9 +6,9 @@ "packages": { "": { "name": "run-matlab-command-action", - "version": "1.0.1", + "version": "1.1.0", "dependencies": { - "@actions/core": "^1.4.0", + "@actions/core": "^1.10.0", "@actions/exec": "^1.1.0", "uuid": "^8.3.2" }, @@ -25,9 +25,13 @@ } }, "node_modules/@actions/core": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz", - "integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg==" + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.0.tgz", + "integrity": "sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug==", + "dependencies": { + "@actions/http-client": "^2.0.1", + "uuid": "^8.3.2" + } }, "node_modules/@actions/exec": { "version": "1.1.0", @@ -37,6 +41,14 @@ "@actions/io": "^1.0.1" } }, + "node_modules/@actions/http-client": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", + "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==", + "dependencies": { + "tunnel": "^0.0.6" + } + }, "node_modules/@actions/io": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.1.tgz", @@ -4133,6 +4145,14 @@ "node": ">=10" } }, + "node_modules/tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "engines": { + "node": ">=0.6.11 <=0.7.0 || >=0.7.3" + } + }, "node_modules/type-check": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", @@ -4433,9 +4453,13 @@ }, "dependencies": { "@actions/core": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz", - "integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg==" + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.0.tgz", + "integrity": "sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug==", + "requires": { + "@actions/http-client": "^2.0.1", + "uuid": "^8.3.2" + } }, "@actions/exec": { "version": "1.1.0", @@ -4445,6 +4469,14 @@ "@actions/io": "^1.0.1" } }, + "@actions/http-client": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", + "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==", + "requires": { + "tunnel": "^0.0.6" + } + }, "@actions/io": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.1.tgz", @@ -7597,6 +7629,11 @@ } } }, + "tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==" + }, "type-check": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", diff --git a/package.json b/package.json index 9d81017..c301f4d 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "lib/" ], "dependencies": { - "@actions/core": "^1.4.0", + "@actions/core": "^1.10.0", "@actions/exec": "^1.1.0", "uuid": "^8.3.2" },