[TOOLS] Update fdroid repo: try with no-proxy (attempt 2)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Update fdroid repo
|
||||
name: Update fdroid repo no-proxy
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -25,6 +25,12 @@ jobs:
|
||||
- name: Update fdroid repo
|
||||
shell: bash
|
||||
run: |
|
||||
export https_proxy=http://127.0.0.1:8118
|
||||
socat TCP-LISTEN:8118,reuseaddr,fork UNIX-CLIENT:/tmp/forward-proxy/proxy.sock &
|
||||
socat TCP-LISTEN:1080,reuseaddr,fork UNIX-CLIENT:/tmp/forward-proxy/ftp.sock &
|
||||
touch /etc/apt/apt.conf.d/proxy.conf
|
||||
echo "Acquire::http::Proxy \"$https_proxy\";" >/etc/apt/apt.conf.d/proxy.conf
|
||||
|
||||
cd /
|
||||
. fdroidserver-env/bin/activate
|
||||
apt update
|
||||
|
||||
Reference in New Issue
Block a user