Skip to content

Commit

Permalink
ci: do not set BUILD_WITHOUT_QUIC env var in release workflow
Browse files Browse the repository at this point in the history
if building without quic support
  • Loading branch information
id committed Jul 22, 2024
1 parent 60e41a8 commit 66d61f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ jobs:
- amzn2023
env:
IMAGE: ghcr.io/emqx/emqx-builder/5.3-7:1.15.7-${{ matrix.otp }}-${{ matrix.os }}
BUILD_WITHOUT_QUIC: ${{ matrix.quic_support && '' || '1' }}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -86,10 +85,11 @@ jobs:
ref: ${{ github.event.inputs.branch_or_tag }}
- name: build
run: >-
docker run --rm -v ${PWD}:/wd -w /wd -e BUILD_WITHOUT_QUIC=${BUILD_WITHOUT_QUIC} ${IMAGE} bash -euc "
git config --global --add safe.directory '*';
make
"
if [ "false" == ${{ matrix.quic_support }} ]; then
docker run --rm -v ${PWD}:/wd -w /wd -e BUILD_WITHOUT_QUIC=1 ${IMAGE} bash -euc "git config --global --add safe.directory '*' && make"
else
docker run --rm -v ${PWD}:/wd -w /wd ${IMAGE} bash -euc "git config --global --add safe.directory '*' && make"
fi
- if: failure()
run: cat rebar3.crashdump
- name: Verify that we have working release
Expand Down

0 comments on commit 66d61f0

Please sign in to comment.