Skip to content

Commit

Permalink
Merge pull request #241 from emqx/ci/william/fix-otp26-release
Browse files Browse the repository at this point in the history
ci: fix release rebar3 path
  • Loading branch information
qzhuyan authored Dec 4, 2023
2 parents 7122f7a + 3b178a6 commit 0686b7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ jobs:
- name: install rebar3
run: |
wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
cp ./rebar3 /usr/local/bin/rebar3
- name: release build
run: |
export PATH="/usr/local/opt/erlang@${{ matrix.otp }}/bin:$PATH"
export PATH="$PWD:/usr/local/opt/erlang@${{ matrix.otp }}/bin:$PATH"
erl -eval 'erlang:display(erlang:system_info(system_version)),halt()'
ulimit -c unlimited
# run sudo for getting coredump
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
- name: install rebar3
run: |
wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
cp ./rebar3 /usr/local/bin/rebar3
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand All @@ -47,7 +46,7 @@ jobs:
env:
QUIC_TLS: ${{ matrix.openssl }}
run: |
export PATH="/usr/local/opt/erlang@${{ matrix.otp }}/bin:$PATH"
export PATH="$PWD:/usr/local/opt/erlang@${{ matrix.otp }}/bin:$PATH"
erl -eval 'erlang:display(erlang:system_info(system_version)),halt()'
export QUIC_TLS
BUILD_RELEASE=1 make
Expand Down

0 comments on commit 0686b7e

Please sign in to comment.