Update build_bromite_dev.yaml

This commit is contained in:
uazo 2022-01-17 15:06:07 +01:00 committed by GitHub
parent 0d4ee779ea
commit 33596c0fc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 24 deletions

View File

@ -419,27 +419,3 @@ jobs:
[[ "$USEGOMA" = "true" ]] && find /tmp/ -maxdepth 1 -name "gomacc*" -print0 | xargs -0 rm || true
[[ "$USEGOMA" = "true" ]] && rm -rf /tmp/goma_lg/ || true
echo "::endgroup::"
release:
runs-on: ${{ github.event.inputs.type }}
needs: build
if: success()
env:
OUTPUTFILE: /storage/images/${{ github.event.inputs.build }}/${{ github.event.inputs.sha }}/apks/ChromePublic.apk
steps:
- name: Enable proxy on container
shell: bash
run: |
if ! [[ -z "${HTTP_PROXY}" ]]; then
PROXY_ADDR=http://$(hostname -I | cut -d' ' -f1 | xargs):8118
echo "PROXY_ADDR=$PROXY_ADDR" >> $GITHUB_ENV
sudo iptables -D INPUT -p tcp -s localhost --dport 8118 -j ACCEPT
sudo iptables -D INPUT -p tcp --dport 8118 -j DROP
fi
- name: Release build ${{ github.event.inputs.build }}/${{ github.event.inputs.sha }}
uses: softprops/action-gh-release@v1
with:
draft: true
files: ${{ env.OUTPUTFILE }}