From f0a88fe39d4438dcd0d1e3f60a1fc83ab401d070 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:37:16 -0600 Subject: [PATCH] use new asset host --- README.md | 2 +- dist/index.js | 2 +- src/main.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0893d2e..ad5290a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ jobs: build: steps: - run: | - curl https://rtx.pub/install.sh | sh + curl https://rtx.jdx.dev/install.sh | sh echo "$HOME/.local/share/rtx/bin" >> $GITHUB_PATH echo "$HOME/.local/share/rtx/shims" >> $GITHUB_PATH ``` diff --git a/dist/index.js b/dist/index.js index 0ce0f2e..50d1a45 100644 --- a/dist/index.js +++ b/dist/index.js @@ -82967,7 +82967,7 @@ async function restoreRTXCache() { } async function setupRTX() { const rtxBinDir = path.join((0, utils_1.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')]); diff --git a/src/main.ts b/src/main.ts index 530ed93..0428372 100644 --- a/src/main.ts +++ b/src/main.ts @@ -53,7 +53,7 @@ async function restoreRTXCache(): Promise { async function setupRTX(): Promise { 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')])