Skip to content

Commit b401cdd

Browse files
authored
Merge pull request #74 from VirtusLab/update-scala-cli-setup
Update ScalaCLI
2 parents 6297b1d + b00ce94 commit b401cdd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as path from 'path'
55
import * as tc from '@actions/tool-cache'
66

77
const csVersion = '2.1.0-M5'
8-
const scalaCLIVersion = '0.1.11'
8+
const scalaCLIVersion = '0.1.12'
99
const coursierVersionSpec = csVersion
1010

1111
async function execOutput(cmd: string, ...args: string[]): Promise<string> {
@@ -115,7 +115,10 @@ async function run(): Promise<void> {
115115
core.exportVariable('COURSIER_BIN_DIR', coursierBinDir)
116116
core.addPath(coursierBinDir)
117117
await cs('install', '--contrib', ...apps)
118-
core.setOutput('scala-cli-version', await execOutput('scala-cli', 'version'))
118+
core.setOutput(
119+
'scala-cli-version',
120+
await execOutput('scala-cli', 'version', '--cli-version'),
121+
)
119122
}
120123
})
121124
} catch (error: any) {

0 commit comments

Comments
 (0)