We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be4c145 commit 78a94fdCopy full SHA for 78a94fd
src/main.ts
@@ -51,11 +51,10 @@ async function downloadCoursier(): Promise<string> {
51
let csBinary = ''
52
switch (process.platform) {
53
case 'linux': {
54
- const useContainerImageInput = core.getInput('useContainerImage')
55
- const linuxUrl =
56
- useContainerImageInput.toLowerCase() === 'true'
57
- ? `${baseUrl}-pc-linux-container.gz`
58
- : `${baseUrl}-pc-linux.gz`
+ const useContainerImageInput = core.getBooleanInput('useContainerImage')
+ const linuxUrl = useContainerImageInput
+ ? `${baseUrl}-pc-linux-container.gz`
+ : `${baseUrl}-pc-linux.gz`
59
const guid = await tc.downloadTool(linuxUrl)
60
const archive = `${guid}.gz`
61
await cli.exec('mv', [guid, archive])
0 commit comments