From 078b78d23bd4f34d7d32681992e0c4e871386b4c Mon Sep 17 00:00:00 2001 From: Brayan batista zuniga Date: Mon, 26 Feb 2024 11:07:38 -0500 Subject: [PATCH] fix: fixing working directory using mix lock at parent 2 --- .github/workflows/template-main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/template-main.yml b/.github/workflows/template-main.yml index 1e40b9c..6f0d6fe 100644 --- a/.github/workflows/template-main.yml +++ b/.github/workflows/template-main.yml @@ -79,18 +79,18 @@ jobs: echo "RELEASE_VERSION=$VER" >> $GITHUB_ENV echo "RELEASE_VERSION -> ${{ env.RELEASE_VERSION }}" - # - name: Restore dependencies cache - # uses: actions/cache@v3 - # with: - # path: Elixir/Konex/deps - # key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} - # restore-keys: ${{ runner.os }}-mix- - - name: Restore dependencies cache - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: deps - key: dependencies-${{ hashFiles('Elixir/Konex/mix.lock') }} + key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} + restore-keys: ${{ runner.os }}-mix- + + - name: Restore dependencies cache 2 + uses: actions/cache@v1 + with: + path: Elixir/Konex/deps + key: ${{ runner.os }}-mix-${{ hashFiles('**/Elixir/Konex/mix.lock') }} restore-keys: mix-${{ runner.os }}-${{matrix.elixir}}-${{matrix.otp}}- - name: Show files