diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6cd7c23..9940c28 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,20 +44,20 @@ jobs: with: path: _build key: "_build-cache-for\ - -os-${{runner.os}}\ - -otp-${{steps.setup-beam.outputs.otp-version}}\ - -rebar3-${{steps.setup-beam.outputs.rebar3-version}}\ - -hash-${{hashFiles('rebar.lock')}}" + -os-${{ matrix.os }}\ + -otp-${{ steps.setup-beam.outputs.otp-version }}\ + -rebar3-${{ steps.setup-beam.outputs.rebar3-version }}\ + -hash-${{ hashFiles('rebar.lock') }}" - name: Restore rebar3's cache uses: actions/cache@v3 with: path: ~/.cache/rebar3 key: "rebar3-cache-for\ - -os-${{runner.os}}\ - -otp-${{steps.setup-beam.outputs.otp-version}}\ - -rebar3-${{steps.setup-beam.outputs.rebar3-version}}\ - -hash-${{hashFiles('rebar.lock')}}" + -os-${{ matrix.os }}\ + -otp-${{ steps.setup-beam.outputs.otp-version }}\ + -rebar3-${{ steps.setup-beam.outputs.rebar3-version }}\ + -hash-${{ hashFiles('rebar.lock') }}" - name: Compile run: rebar3 compile