From 2bf4ec65753774eb211f83ef5dc6f8e483f910a6 Mon Sep 17 00:00:00 2001 From: chengsiyuan Date: Mon, 7 Aug 2023 14:56:22 +0800 Subject: [PATCH] maybe good to use env like this --- .gitea/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2ec1d8b..c1b9ce8 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -26,3 +26,10 @@ jobs: REMOTE_PORT: ${{ secrets.REMOTE_PORT }} TARGET: ${{ secrets.REMOTE_TARGET }} - run: echo "🍏 This job's status is ${{ job.status }}." + env: + http_proxy: ${{ secrets.PROXY }} + HTTP_PROXY: ${{ secrets.PROXY }} + https_proxy: ${{ secrets.PROXY }} + HTTPS_PROXY: ${{ secrets.PROXY }} + no_proxy: ${{ secrets.NO_PROXY }} + NO_PROXY: ${{ secrets.NO_PROXY }} \ No newline at end of file