From 35a57c441e55cd58e2cd1f93d5cc4d272646df4c Mon Sep 17 00:00:00 2001 From: Jamil Bou Kheir Date: Mon, 28 Jun 2021 16:14:46 -0700 Subject: [PATCH] multiple runs --- .ci/install_runtimes.sh | 3 --- .github/workflows/ci.yml | 8 +++++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.ci/install_runtimes.sh b/.ci/install_runtimes.sh index f332508de..0f6dad2b2 100755 --- a/.ci/install_runtimes.sh +++ b/.ci/install_runtimes.sh @@ -3,9 +3,6 @@ set -e os_name='ubuntu~bionic' -echo 'Current architecture:' -echo $arch - wget -O erlang.deb https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_24.0.2-1~${os_name}_${arch}.deb wget -O elixir.deb https://packages.erlang-solutions.com/erlang/debian/pool/elixir_1.12.0-1~${os_name}_all.deb sudo dpkg -i erlang.deb diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0699e6f5..e2a6a1a02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,6 +68,8 @@ jobs: - uses: uraimo/run-on-arch-action@v2.0.10 if: ${{ matrix.arch == 'arm64' }} name: Run on arm64 + env: + arch: arm64 with: arch: aarch64 distro: ubuntu18.04 @@ -78,9 +80,9 @@ jobs: # amd64 build - if: ${{ matrix.arch == 'amd64' }} - run: - - .ci/install_runtimes.sh - - .ci/build_release.sh + run: .ci/install_runtimes.sh + - if: ${{ matrix.arch == 'amd64' }} + run: .ci/build_release.sh # build: # needs: unit-integration-test