From 5c9661f07430adbb68e76979a085ba43216c1e9b Mon Sep 17 00:00:00 2001 From: William Yang Date: Mon, 4 Dec 2023 10:46:39 +0100 Subject: [PATCH] ci: fix rebar path --- .github/workflows/main.yml | 4 +--- .github/workflows/release.yaml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 016ce5cc..36b39e6c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,11 +29,9 @@ jobs: run: | export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install erlang@${{ matrix.otp }} - - name: install rebar3 - run: | - wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 - name: release build run: | + wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 export PATH="$PWD:/usr/local/opt/erlang@${{ matrix.otp }}/bin:$PATH" erl -eval 'erlang:display(erlang:system_info(system_version)),halt()' ulimit -c unlimited diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 15b443be..125ce4b8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -34,9 +34,6 @@ jobs: run: | export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install erlang@${{ matrix.otp }} - - name: install rebar3 - run: | - wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 - uses: actions/checkout@v3 with: fetch-depth: 0 @@ -46,6 +43,7 @@ jobs: env: QUIC_TLS: ${{ matrix.openssl }} run: | + wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 export PATH="$PWD:/usr/local/opt/erlang@${{ matrix.otp }}/bin:$PATH" erl -eval 'erlang:display(erlang:system_info(system_version)),halt()' export QUIC_TLS