From 5d30794189db8a7995c3f9306dfdb425c237e0d1 Mon Sep 17 00:00:00 2001 From: Paulo Valente <16843419+polvalente@users.noreply.github.com> Date: Mon, 15 Jul 2024 19:15:38 -0300 Subject: [PATCH] fix: mix order --- .github/workflows/precompiled_nif.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/precompiled_nif.yml b/.github/workflows/precompiled_nif.yml index 1bc32d0..8b5af91 100644 --- a/.github/workflows/precompiled_nif.yml +++ b/.github/workflows/precompiled_nif.yml @@ -110,8 +110,6 @@ jobs: echo "${LANG} UTF-8" >> /etc/locale.gen locale-gen update-locale LANG=${LANG} - mix local.hex --force - mix local.rebar --force echo "NX_IREE_SOURCE_DIR=$(elixir -e 'IO.puts(Path.absname(~s(${{env.NX_IREE_SOURCE_DIR}})))')" > $GITHUB_ENV echo "PKG_NAME=libnx_iree-linux-x86_64-nif-${{matrix.nif_version}}" >> $GITHUB_ENV @@ -141,6 +139,11 @@ jobs: fi rm -rf cudnn + - name: Setup Local Hex + run: | + mix local.hex --force + mix local.rebar --force + - name: Cache mix dependencies id: cache-mix-deps uses: actions/cache@v4