Skip to content

Commit

Permalink
Properly populate CI cache
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Jul 28, 2023
1 parent b2ef0cd commit 8fdd8f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: ${{ matrix.rebar3_version }}

- name: Restore _build
uses: actions/cache@v3
with:
Expand All @@ -56,11 +61,6 @@ jobs:
-rebar3-${{steps.setup-beam.outputs.rebar3-version}}\
-hash-${{hashFiles('rebar.lock')}}"

- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: ${{ matrix.rebar3_version }}

- name: Compile
run: rebar3 compile
- name: EUnit tests
Expand Down

0 comments on commit 8fdd8f4

Please sign in to comment.