Skip to content

Commit

Permalink
Add name for Maven example (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcono1234 authored and GitHub committed Jun 18, 2020
1 parent b773382 commit eed9cfe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ steps:
We cache the elements of the Cabal store separately, as the entirety of `~/.cabal` can grow very large for projects with many dependencies.

```yaml
- uses: actions/cache@v2
name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle
- name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle
uses: actions/cache@v2
with:
path: |
~/.cabal/packages
Expand All @@ -144,7 +144,8 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
## Java - Maven

```yaml
- uses: actions/cache@v2
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down

0 comments on commit eed9cfe

Please sign in to comment.