mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 09:13:56 +08:00
Merge 145bc73f86
into 515d10b4fd
This commit is contained in:
commit
30b8cfff58
2 changed files with 15 additions and 0 deletions
14
examples.md
14
examples.md
|
@ -231,6 +231,20 @@ The yarn cache directory will depend on your operating system and version of `ya
|
|||
${{ runner.os }}-yarn-
|
||||
```
|
||||
|
||||
## Node - Typescript
|
||||
Enable typescript incremantal build by passing flag `--incremental` and location of incremental build info is controlled by flag `--tsBuildInfoFile`
|
||||
More info in https://www.typescriptlang.org/docs/handbook/compiler-options.html
|
||||
|
||||
```yaml
|
||||
- uses: actions/cache@v1
|
||||
id: tsbuild-cache
|
||||
with:
|
||||
path: buildcache.tsbuildinfo #the file you mention when build the project by passing parameter tsBuildInfoFile
|
||||
key: ${{ runner.os }}-tsbuild
|
||||
restore-keys: |
|
||||
${{ runner.os }}-tsbuild
|
||||
```
|
||||
|
||||
## OCaml/Reason - esy
|
||||
Esy allows you to export built dependencies and import pre-built dependencies.
|
||||
```yaml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue