From 1162e23ceaf96b7a1444d981bf57cc78cdef7e9e Mon Sep 17 00:00:00 2001 From: xRain Date: Fri, 16 Aug 2024 04:58:22 +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