Skip to content

Commit b4455de

Browse files
committed
Clear proxy environment variables after stopping Dev Proxy
1 parent 3b0af3a commit b4455de

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

start/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,7 @@ runs:
8787
if [ "${{ inputs.auto-stop }}" = "true" ]; then
8888
echo "Stopping Dev Proxy..."
8989
curl -X POST http://127.0.0.1:8897/proxy/stopproxy
90+
echo "http_proxy=" >> $GITHUB_ENV
91+
echo "https_proxy=" >> $GITHUB_ENV
9092
echo "Dev Proxy has been stopped."
9193
fi

stop/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ runs:
77
id: stop
88
run: |
99
curl -X POST http://127.0.0.1:8897/proxy/stopproxy
10+
echo "http_proxy=" >> $GITHUB_ENV
11+
echo "https_proxy=" >> $GITHUB_ENV
1012
shell: bash

0 commit comments

Comments
 (0)