mirror of
https://github.com/actions/cache.git
synced 2026-01-30 16:04:23 +08:00
Remove proxy env from Fetch GitHub meta step - must run before firewall setup
This commit is contained in:
parent
61ba4b9b0a
commit
0d4af5e74f
6
.github/workflows/workflow.yml
vendored
6
.github/workflows/workflow.yml
vendored
@ -108,9 +108,6 @@ jobs:
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y iptables dnsutils curl jq ipset
|
apt-get install -y iptables dnsutils curl jq ipset
|
||||||
- name: Fetch GitHub meta and configure firewall
|
- name: Fetch GitHub meta and configure firewall
|
||||||
env:
|
|
||||||
http_proxy: http://squid-proxy:3128
|
|
||||||
https_proxy: http://squid-proxy:3128
|
|
||||||
run: |
|
run: |
|
||||||
# Fetch GitHub meta API to get all IP ranges
|
# Fetch GitHub meta API to get all IP ranges
|
||||||
echo "Fetching GitHub meta API..."
|
echo "Fetching GitHub meta API..."
|
||||||
@ -352,9 +349,6 @@ jobs:
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y iptables dnsutils curl jq ipset
|
apt-get install -y iptables dnsutils curl jq ipset
|
||||||
- name: Fetch GitHub meta and configure firewall
|
- name: Fetch GitHub meta and configure firewall
|
||||||
env:
|
|
||||||
http_proxy: http://squid-proxy:3128
|
|
||||||
https_proxy: http://squid-proxy:3128
|
|
||||||
run: |
|
run: |
|
||||||
# Fetch GitHub meta API to get all IP ranges
|
# Fetch GitHub meta API to get all IP ranges
|
||||||
echo "Fetching GitHub meta API..."
|
echo "Fetching GitHub meta API..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user