Update build_bromite_dev.yaml
This commit is contained in:
parent
0d4ee779ea
commit
33596c0fc1
24
.github/workflows/build_bromite_dev.yaml
vendored
24
.github/workflows/build_bromite_dev.yaml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user