Skip to content

Commit

Permalink
Build for d77d7d8
Browse files Browse the repository at this point in the history
  • Loading branch information
Release Action committed May 18, 2021
1 parent d77d7d8 commit 6e83dd7
Show file tree
Hide file tree
Showing 11 changed files with 217 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/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>;
49 changes: 49 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): Promise<void>;
62 changes: 62 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.

4 changes: 4 additions & 0 deletions lib/properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"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 6e83dd7

Please sign in to comment.