Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson committed Oct 2, 2024
1 parent badefc6 commit ef5f1a7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
10 changes: 9 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33214,12 +33214,16 @@ async function run() {
core.error(`Failed to call cm command!\n${error}`);
}
}
await authenticate();
}
function getTempDirectory() {
return process.env['RUNNER_TEMP'] || '';
}
async function install() {
const version = core.getInput('version');
let version = core.getInput('version');
if (version === 'latest') {
version = undefined;
}
switch (process.platform) {
case 'win32': return await installWindows(version);
case 'darwin': return await installMac(version);
Expand Down Expand Up @@ -33287,6 +33291,10 @@ async function installLinux(version) {
await exec.exec('sudo', ['apt-get', 'update']);
await exec.exec('sudo', ['apt-get', 'install', installArg]);
}
async function authenticate() {
const username = core.getInput('unity-username', { required: true });
const password = core.getInput('unity-password', { required: true });
}

})();

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-plastic-scm",
"version": "1.0.1",
"version": "1.0.2",
"description": "A GitHub action to setup and install Plastic SCM (Unity VCS).",
"author": "buildalon",
"license": "MIT",
Expand Down

0 comments on commit ef5f1a7

Please sign in to comment.