channel support

This commit is contained in:
CrazyMax committed 2023-03-10 00:57:37 +01:00
1 parent 475e5bf1db
commit 59b62980d1
6 files changed
+44 -5

No files matched your search

+3 -1
View File
@@ -2,10 +2,12 @@ import * as core from '@actions/core';
export interface Inputs {
version: string;
channel: string;
}
export function getInputs(): Inputs {
return {
version: core.getInput('version')
version: core.getInput('version'),
channel: core.getInput('channel')
};
}
+2 -1
View File
@@ -17,7 +17,8 @@ actionsToolkit.run(
const install = new Install({
runDir: runDir,
version: input.version
version: input.version,
channel: input.channel
});
let toolDir;
if (!(await Docker.isAvailable()) || input.version) {