summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-10-21 11:16:31 +0800
committerEltrac <hi@guhub.cn>2025-10-21 11:16:31 +0800
commit5d28108680cd43f616cd8301cf8a065c419ab7bd (patch)
tree8ece8fabced5a7446c494d82b31eb04128ec6fdc /build.sh
parenta0bfe5f6ccd7fb9bae9330fc8108f786e66a09ca (diff)
chore(CI/CD): remove unused dependency installation job
Former-commit-id: 00779afc961f870913269b420c884b61809ecc76
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/build.sh b/build.sh
index a53aa26c..5c16f9d4 100644
--- a/build.sh
+++ b/build.sh
@@ -12,8 +12,6 @@ main() {
DART_SASS_VERSION=1.93.2
GO_VERSION=1.25.1
HUGO_VERSION=0.151.0
- NODE_VERSION=22.18.0
- PYTHON_VERSION=3.11.5
export TZ=Asia/Shanghai
@@ -21,13 +19,6 @@ main() {
echo "🏗️ Installing all dependencies..."
- # Install Python
- echo "Installing Python ${PYTHON_VERSION}..."
- curl -sLJO "https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz"
- tar -C "${HOME}/.local" -xf "Python-${PYTHON_VERSION}.tgz"
- rm "Python-${PYTHON_VERSION}.tgz"
- export PATH="${HOME}/.local/Python-${PYTHON_VERSION}/bin:${PATH}"
-
# Install Dart Sass
echo "Installing Dart Sass ${DART_SASS_VERSION}..."
curl -sLJO "https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz"
@@ -55,7 +46,6 @@ main() {
echo Dart Sass: "$(sass --version)"
echo Go: "$(go version)"
echo Hugo: "$(hugo version)"
- echo Python: "$(python3 --version)"
# ===== Execute Pre-Hugo Actions ===== #