Compare commits

...

4 Commits

Author SHA1 Message Date
Warren Parad
f76cf8b242
Merge d270a17a94 into aca7b64a59 2024-09-26 22:14:39 +05:30
Joel Ambass
aca7b64a59
Merge pull request #1134 from actions/Jcambass-patch-1
Upgrade IA Publish
2024-09-26 08:24:05 +02:00
Joel Ambass
d6ebc7b438
Upgrade IA Publish 2024-09-16 17:18:15 +02:00
Warren Parad
d270a17a94
Fix confusing note, and clarity what is being cached 2024-01-23 22:13:33 +01:00
2 changed files with 3 additions and 5 deletions

View File

@ -2,7 +2,7 @@ name: 'Publish Immutable Action Version'
on:
release:
types: [created]
types: [published]
jobs:
publish:
@ -17,6 +17,4 @@ jobs:
uses: actions/checkout@v4
- name: Publish
id: publish
uses: actions/publish-immutable-action@0.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
uses: actions/publish-immutable-action@0.0.3

View File

@ -124,7 +124,7 @@ The action has a built-in functionality for caching and restoring dependencies.
The action defaults to search for the dependency file (`package-lock.json`, `npm-shrinkwrap.json` or `yarn.lock`) in the repository root, and uses its hash as a part of the cache key. Use `cache-dependency-path` for cases when multiple dependency files are used, or they are located in different subdirectories.
**Note:** The action does not cache `node_modules`
**Note:** The action does not cache the local `node_modules` directly, but instead [caches the global cache](https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data) at the machine level.
See the examples of using cache for `yarn`/`pnpm` and `cache-dependency-path` input in the [Advanced usage](docs/advanced-usage.md#caching-packages-data) guide.