mirror of
https://github.com/jdx/mise-action.git
synced 2026-05-20 16:21:53 +00:00
use new asset host
This commit is contained in:
parent
f94e70b04b
commit
f0a88fe39d
3 changed files with 3 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ async function restoreRTXCache(): Promise<void> {
|
|||
|
||||
async function setupRTX(): Promise<void> {
|
||||
const rtxBinDir = path.join(rtxDir(), 'bin')
|
||||
const url = `https://rtx.pub/rtx-latest-${getOS()}-${os.arch()}`
|
||||
const url = `https://rtx.jdx.dev/rtx-latest-${getOS()}-${os.arch()}`
|
||||
await fs.promises.mkdir(rtxBinDir, { recursive: true })
|
||||
await exec.exec('curl', [url, '--output', path.join(rtxBinDir, 'rtx')])
|
||||
await exec.exec('chmod', ['+x', path.join(rtxBinDir, 'rtx')])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue