Unverified Commit eed9cfe6 authored by Marcono1234's avatar Marcono1234 Committed by GitHub
Browse files

Add name for Maven example (#341)

parent b7733828
Loading
Loading
Loading
Loading
+4 −3
Changes for examples.md: 4 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -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
@@ -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') }}