Update build_bromite.yaml

This commit is contained in:
uazo 2021-07-30 09:53:16 +02:00 committed by GitHub
parent 45dec4f942
commit edecf413de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,18 +156,7 @@ jobs:
- /storage/bromite/${{ github.sha }}:/home/lg/working_dir/artifacs - /storage/bromite/${{ github.sha }}:/home/lg/working_dir/artifacs
- /tmp/proxy:/tmp/proxy - /tmp/proxy:/tmp/proxy
steps: steps:
- name: Get current proxy settings
shell: bash
run: |
if ! [[ -z "${HTTP_PROXY}" ]]; then
PROXY_ADDR=http://$(hostname -I | xargs):8118
echo "HTTP_PROXY=$PROXY_ADDR" >> $GITHUB_ENV
echo "HTTPS_PROXY=$PROXY_ADDR" >> $GITHUB_ENV
echo "http_proxy=$PROXY_ADDR" >> $GITHUB_ENV
echo "https_proxy=$PROXY_ADDR" >> $GITHUB_ENV
fi
- name: Build Bromite - name: Build Bromite
shell: bash shell: bash
env: env:
@ -175,5 +164,4 @@ jobs:
run: | run: |
cd /home/lg/working_dir/ cd /home/lg/working_dir/
export WORKSPACE=/home/lg/working_dir export WORKSPACE=/home/lg/working_dir
./pre-start.sh
./start-build.sh ./start-build.sh