Skip to content

Commit 69db12d

Browse files
committed
typo
1 parent 9434cbc commit 69db12d

File tree

3 files changed

+40
-35
lines changed

3 files changed

+40
-35
lines changed

dist/index.js

Lines changed: 19 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -65,41 +65,44 @@ export async function run(): Promise<void> {
6565
core.debug(`Platform: ${platform}`)
6666

6767
const z3Version = core.getInput('z3Version')
68+
const cvc5Version = core.getInput('cvc5Version')
6869

69-
await download('z3', z3Version, {
70+
const CVC5_TOOL: Tools = {
7071
linux: {
71-
url: `https://github.com/Z3Prover/z3/releases/download/z3-${z3Version}/z3-${z3Version}-x64-glibc-2.35.zip`,
72+
url: `https://github.com/cvc5/cvc5/releases/download/cvc5-${cvc5Version}/cvc5-Linux-x86_64-static.zip`,
7273
format: 'zip',
73-
binPath: `z3-${z3Version}-x64-glibc-2.35/bin/`
74+
binPath: `cvc5-Linux-x86_64-static/bin/`
7475
},
7576
windows: {
76-
url: `https://github.com/Z3Prover/z3/releases/download/z3-${z3Version}/z3-${z3Version}-x64-win.zip`,
77+
url: `https://github.com/cvc5/cvc5/releases/download/cvc5-${cvc5Version}/cvc5-Win64-x86_64-static.zip`,
7778
format: 'zip',
78-
binPath: `z3-${z3Version}-x64-win/bin/`
79+
binPath: `cvc5-Win64-x86_64-static/bin/`
7980
},
8081
macos: {
81-
url: `https://github.com/Z3Prover/z3/releases/download/z3-${z3Version}/z3-${z3Version}-x64-osx-13.7.2.zip`,
82+
url: `https://github.com/cvc5/cvc5/releases/download/cvc5-${cvc5Version}/cvc5-macOS-x86_64-static.zip`,
8283
format: 'zip',
83-
binPath: `z3-${z3Version}-osx/bin/`
84+
binPath: `cvc5-macOS-x86_64-static/bin/`
8485
}
85-
})
86+
}
8687

87-
const cvc5Version = core.getInput('cv5Version')
88-
await download('cvc5', cvc5Version, {
88+
const Z3_TOOL: Tools = {
8989
linux: {
90-
url: `https://github.com/cvc5/cvc5/releases/download/cvc5-${cvc5Version}/cvc5-Linux-x86_64-static.zip`,
90+
url: `https://github.com/Z3Prover/z3/releases/download/z3-${z3Version}/z3-${z3Version}-x64-glibc-2.35.zip`,
9191
format: 'zip',
92-
binPath: `cvc5-Linux-x86_64-static/bin/`
92+
binPath: `z3-${z3Version}-x64-glibc-2.35/bin/`
9393
},
9494
windows: {
95-
url: `https://github.com/cvc5/cvc5/releases/download/cvc5-${cvc5Version}/cvc5-Win64-x86_64-static.zip`,
95+
url: `https://github.com/Z3Prover/z3/releases/download/z3-${z3Version}/z3-${z3Version}-x64-win.zip`,
9696
format: 'zip',
97-
binPath: `cvc5-Win64-x86_64-static/bin/`
97+
binPath: `z3-${z3Version}-x64-win/bin/`
9898
},
9999
macos: {
100-
url: `https://github.com/cvc5/cvc5/releases/download/cvc5-${cvc5Version}/cvc5-macOS-x86_64-static.zip`,
100+
url: `https://github.com/Z3Prover/z3/releases/download/z3-${z3Version}/z3-${z3Version}-x64-osx-13.7.2.zip`,
101101
format: 'zip',
102-
binPath: `cvc5-macOS-x86_64-static/bin/`
102+
binPath: `z3-${z3Version}-osx/bin/`
103103
}
104-
})
104+
}
105+
106+
await download('cvc5', cvc5Version, CVC5_TOOL)
107+
await download('z3', z3Version, Z3_TOOL)
105108
}

0 commit comments

Comments
 (0)