From f637ad9facd9286ee1b05fbb785b95df497d8c19 Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Mon, 19 Jun 2023 18:24:28 +0800 Subject: [PATCH] fix: use new install script url Signed-off-by: Frost Ming --- dist/setup-pdm.js | 2 +- src/setup-pdm.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup-pdm.js b/dist/setup-pdm.js index 1fe8457..96292ef 100644 --- a/dist/setup-pdm.js +++ b/dist/setup-pdm.js @@ -77501,7 +77501,7 @@ function handleMatchResult(matchedKey, primaryKey) { } // src/setup-pdm.ts -var INSTALL_SCRIPT_URL = "https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py"; +var INSTALL_SCRIPT_URL = "https://pdm.fming.dev/dev/install-pdm.py"; function getPep582Path(installDir, pythonVersion) { const parsedVersion = (0, import_parse.default)(pythonVersion); if (IS_WINDOWS) { diff --git a/src/setup-pdm.ts b/src/setup-pdm.ts index 5e7967a..0d28dea 100644 --- a/src/setup-pdm.ts +++ b/src/setup-pdm.ts @@ -8,7 +8,7 @@ import semParse from 'semver/functions/parse'; import * as utils from './utils'; import { cacheDependencies } from './caches'; -const INSTALL_SCRIPT_URL = 'https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py'; +const INSTALL_SCRIPT_URL = 'https://pdm.fming.dev/dev/install-pdm.py'; interface InstallOutput { pdm_version: string; pdm_bin: string;