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 ada62bb commit 66e39bfCopy full SHA for 66e39bf
src/cli.ts
@@ -22,8 +22,11 @@ async function toolVersion(
22
): Promise<string> {
23
core.debug('=== Check tool version')
24
if (version === 'latest') {
25
+ const url = utils.isWindows() ?
26
+ 'https://api.github.com/repos/casselc/clj-msi/releases/latest' :
27
+ 'https://api.github.com/repos/clojure/brew-install/releases/latest'
28
const res = await client.getJson<{tag_name: string}>(
- 'https://api.github.com/repos/clojure/brew-install/releases/latest',
29
+ url,
30
githubAuth ? {Authorization: githubAuth} : {}
31
)
32
const versionString = res.result?.tag_name
0 commit comments