Skip to content

Commit

Permalink
chore: add Deno cache example
Browse files Browse the repository at this point in the history
  • Loading branch information
Jheyson Saavedra authored and GitHub committed Jan 16, 2022
1 parent 6114654 commit de7c17c
Showing 1 changed file with 43 additions and 3 deletions.
46 changes: 43 additions & 3 deletions examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@
- [D - DUB](#d---dub)
- [POSIX](#posix)
- [Windows](#windows)
- [Elixir - Mix](#elixir---mix)
- [Go - Modules](#go---modules)
- [Deno](#deno)
- [Linux](#linux)
- [macOS](#macos)
- [Windows](#windows-1)
- [Elixir - Mix](#elixir---mix)
- [Go - Modules](#go---modules)
- [Linux](#linux-1)
- [macOS](#macos-1)
- [Windows](#windows-2)
- [Haskell - Cabal](#haskell---cabal)
- [Java - Gradle](#java---gradle)
- [Java - Maven](#java---maven)
- [Node - npm](#node---npm)
- [macOS and Ubuntu](#macos-and-ubuntu)
- [Windows](#windows-2)
- [Windows](#windows-3)
- [Using multiple systems and `npm config`](#using-multiple-systems-and-npm-config)
- [Node - Lerna](#node---lerna)
- [Node - Yarn](#node---yarn)
Expand Down Expand Up @@ -102,6 +106,42 @@ steps:
${{ runner.os }}-dub-
```

## Deno

### Linux

```yaml
- uses: actions/cache@v2
with:
path: |
~/.deno
~/.cache/deno
key: ${{ runner.os }}-deno-${{ hashFiles('**/deps.ts') }}
```

### macOS

```yaml
- uses: actions/cache@v2
with:
path: |
~/.deno
~/Library/Caches/deno
key: ${{ runner.os }}-deno-${{ hashFiles('**/deps.ts') }}
```

### Windows

```yaml
- uses: actions/cache@v2
with:
path: |
~\.deno
%LocalAppData%\deno
key: ${{ runner.os }}-deno-${{ hashFiles('**/deps.ts') }}
```


## Elixir - Mix

```yaml
Expand Down

0 comments on commit de7c17c

Please sign in to comment.