From b4330e7defefd9f005c681ba5999fc198d16e9e2 Mon Sep 17 00:00:00 2001 From: zmstone Date: Fri, 14 Jun 2024 14:15:09 +0200 Subject: [PATCH] Invalidate build cache --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9eb6f33..7769467 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,8 @@ jobs: strategy: fail-fast: false matrix: + rebar3: + - '3.20.0' otp: - '27' - '26' @@ -30,16 +32,16 @@ jobs: uses: actions/cache@v2 with: path: ~/.cache/rebar3/hex/hexpm/packages - key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }} + key: ${{ runner.os }}-hex2-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }} restore-keys: | - ${{ runner.os }}-hex- + ${{ runner.os }}-hex2- - name: Cache Dialyzer PLTs uses: actions/cache@v2 with: path: ~/.cache/rebar3/rebar3_*_plt - key: ${{ runner.os }}-dialyzer-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.config')) }} + key: ${{ runner.os }}--dialyzer2-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.config')) }} restore-keys: | - ${{ runner.os }}-dialyzer- + ${{ runner.os }}-dialyzer2- # Install Erlang - name: Install Erlang/OTP @@ -47,7 +49,7 @@ jobs: with: version-type: strict otp-version: ${{matrix.otp}} - rebar3-version: '3.20.0' + rebar3-version: ${{matrix.rebar3}} # Compile - name: Compile