From 3de0b1e3fb124b771292d0adfbf19a1cd4f77b3f Mon Sep 17 00:00:00 2001 From: xRain Date: Sun, 28 Jul 2024 22:01:48 +0800 Subject: [PATCH] add proxy --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index d16584b..523fadc 100644 --- a/action.yml +++ b/action.yml @@ -8,7 +8,9 @@ runs: with: entrypoint: "/bin/bash" args: | - -c "npm install && \ + -c "export https_proxy=http://100.100.13.14:8118 && \ + export http_proxy=http://100.100.13.14:8118 && \ + npm install && \ npm run build -- --output-path=dist" - uses: docker://ubuntu:latest