use new asset host
This commit is contained in:
parent
f94e70b04b
commit
f0a88fe39d
3 changed files with 3 additions and 3 deletions
|
@ -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
2
dist/index.js
generated
vendored
|
@ -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')]);
|
||||
|
|
|
@ -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
Reference in a new issue