From 3b178a6fb34c9f897ceeac1d58b0021bc45e377f Mon Sep 17 00:00:00 2001 From: William Yang Date: Mon, 4 Dec 2023 09:31:02 +0100 Subject: [PATCH] ci: fix release rebar3 path --- .github/workflows/main.yml | 3 +-- .github/workflows/release.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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