diff --git a/.github/workflows/update_fdroid_repo-no-proxy.yaml b/.github/workflows/update_fdroid_repo-no-proxy.yaml index 4821c5ff..ff54d8a6 100644 --- a/.github/workflows/update_fdroid_repo-no-proxy.yaml +++ b/.github/workflows/update_fdroid_repo-no-proxy.yaml @@ -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