Added withDeploy flag allowing users to install builds with deploy support in CI/CD pipelines
This commit is contained in:
parent
3a287949d3
commit
0cadccf22b
3 changed files with 22 additions and 6 deletions
|
|
@ -44,16 +44,19 @@ export async function createBinDir(workDir: string): Promise<string> {
|
|||
}
|
||||
|
||||
export async function installer(version: string): Promise<void> {
|
||||
const extended: string = core.getInput('extended');
|
||||
const extended: boolean = core.getInput('extended');
|
||||
core.debug(`Hugo extended: ${extended}`);
|
||||
|
||||
const withDeploy: boolean = core.getInput('withDeploy');
|
||||
core.debug(`Hugo withDeploy: ${withDeploy}`);
|
||||
|
||||
const osName: string = getOS(process.platform);
|
||||
core.debug(`Operating System: ${osName}`);
|
||||
|
||||
const archName: string = getArch(process.arch);
|
||||
core.debug(`Processor Architecture: ${archName}`);
|
||||
|
||||
const toolURL: string = getURL(osName, archName, extended, version);
|
||||
const toolURL: string = getURL(osName, archName, extended, withDeploy, version);
|
||||
core.debug(`toolURL: ${toolURL}`);
|
||||
|
||||
const workDir = await createWorkDir();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue