diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 84c7c415..016ce5cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 696a3c25..15b443be 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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