Skip to content

Commit

Permalink
Build for 71fedd9
Browse files Browse the repository at this point in the history
  • Loading branch information
Release Action committed Oct 19, 2022
1 parent 71fedd9 commit 063711e
Show file tree
Hide file tree
Showing 17 changed files with 305 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions lib/ematlab.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/// <reference types="node" />
export declare const rootFile: string;
export declare function addToPath(): void;
export declare function skipActivationFlag(env: NodeJS.ProcessEnv): string;
47 changes: 47 additions & 0 deletions lib/ematlab.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/ematlab.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* Gather action inputs and then run action.
*/
export declare function run(): Promise<void>;
51 changes: 51 additions & 0 deletions lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions lib/install.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default install;
/**
* Set up an instance of MATLAB on the runner.
*
* First, system dependencies are installed. Then the ephemeral installer script
* is invoked.
*
* @param platform Operating system of the runner (e.g., "win32" or "linux").
* @param release Release of MATLAB to be set up (e.g., "latest" or "R2020a").
*/
export declare function install(platform: string, release: string, skipActivationFlag: string): Promise<void>;
73 changes: 73 additions & 0 deletions lib/install.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/install.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/matlabBatch.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare function installDir(platform: string): string;
20 changes: 20 additions & 0 deletions lib/matlabBatch.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/matlabBatch.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions lib/properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"matlabBatchInstallerUrl": "https://ssd.mathworks.com/supportfiles/ci/matlab-batch/v0/install.sh",
"matlabDepsUrl": "https://ssd.mathworks.com/supportfiles/ci/matlab-deps/v0/install.sh",
"ephemeralInstallerUrl": "https://ssd.mathworks.com/supportfiles/ci/ephemeral-matlab/v0/ci-install.sh"
}
15 changes: 15 additions & 0 deletions lib/script.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* Download and run a script on the runner.
*
* @param platform Operating system of the runner (e.g., "win32" or "linux").
* @param url URL of the script to run.
* @param args Arguments to pass to the script.
*/
export declare function downloadAndRunScript(platform: string, url: string, args?: string[]): Promise<undefined>;
/**
* Generate platform-specific command to run a script.
*
* @param platform Operating system of the runner (e.g. "win32" or "linux").
* @param scriptPath Path to the script (on runner's filesystem).
*/
export declare function generateExecCommand(platform: string, scriptPath: string): string;
68 changes: 68 additions & 0 deletions lib/script.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/script.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 063711e

Please sign in to comment.