|
|
@ -315,6 +315,7 @@ If using `npm config` to retrieve the cache directory, ensure you run [actions/s
|
|
|
|
```yaml
|
|
|
|
```yaml
|
|
|
|
- name: Get npm cache directory
|
|
|
|
- name: Get npm cache directory
|
|
|
|
id: npm-cache-dir
|
|
|
|
id: npm-cache-dir
|
|
|
|
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
|
|
|
|
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
|
|
|
|
- uses: actions/cache@v3
|
|
|
|
- uses: actions/cache@v3
|
|
|
@ -342,6 +343,7 @@ The yarn cache directory will depend on your operating system and version of `ya
|
|
|
|
```yaml
|
|
|
|
```yaml
|
|
|
|
- name: Get yarn cache directory path
|
|
|
|
- name: Get yarn cache directory path
|
|
|
|
id: yarn-cache-dir-path
|
|
|
|
id: yarn-cache-dir-path
|
|
|
|
|
|
|
|
shell: bash
|
|
|
|
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
|
|
|
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
|
|
|
|
|
|
|
|
|
|
|
- uses: actions/cache@v3
|
|
|
|
- uses: actions/cache@v3
|
|
|
@ -360,6 +362,7 @@ The yarn 2 cache directory will depend on your config. See https://yarnpkg.com/c
|
|
|
|
```yaml
|
|
|
|
```yaml
|
|
|
|
- name: Get yarn cache directory path
|
|
|
|
- name: Get yarn cache directory path
|
|
|
|
id: yarn-cache-dir-path
|
|
|
|
id: yarn-cache-dir-path
|
|
|
|
|
|
|
|
shell: bash
|
|
|
|
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
|
|
|
|
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
|
|
|
|
|
|
|
|
|
|
|
|
- uses: actions/cache@v3
|
|
|
|
- uses: actions/cache@v3
|
|
|
@ -404,6 +407,7 @@ Esy allows you to export built dependencies and import pre-built dependencies.
|
|
|
|
```yaml
|
|
|
|
```yaml
|
|
|
|
- name: Get Composer Cache Directory
|
|
|
|
- name: Get Composer Cache Directory
|
|
|
|
id: composer-cache
|
|
|
|
id: composer-cache
|
|
|
|
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
|
|
|
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
|
|
|
- uses: actions/cache@v3
|
|
|
|
- uses: actions/cache@v3
|
|
|
@ -496,6 +500,7 @@ jobs:
|
|
|
|
```yaml
|
|
|
|
```yaml
|
|
|
|
- name: Get pip cache dir
|
|
|
|
- name: Get pip cache dir
|
|
|
|
id: pip-cache
|
|
|
|
id: pip-cache
|
|
|
|
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
|
|
|
|
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
|
|
|
|
|
|
|
|
|
|
|
|