use new asset host

This commit is contained in:
Jeff Dickey 2023-12-11 16:37:16 -06:00
parent f94e70b04b
commit f0a88fe39d
No known key found for this signature in database
GPG key ID: 584DADE86724B407
3 changed files with 3 additions and 3 deletions

View file

@ -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
```

2
dist/index.js generated vendored
View file

@ -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')]);

View file

@ -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')])