Compare commits

..

4 Commits

Author SHA1 Message Date
Ian Butterworth
e2501636d3 Merge 9efb3f33bc into 7921ae235b 2025-02-18 20:41:16 -05:00
Rob Herley
7921ae235b Merge pull request #1557 from actions/robherley/ia-workflow-released
Update publish-immutable-actions.yml
2025-02-18 17:47:05 -05:00
Rob Herley
3937731706 Update publish-immutable-actions.yml 2025-02-18 17:43:49 -05:00
Ian Butterworth
9efb3f33bc Add note about when key is rendered 2023-11-18 13:31:41 -05:00
2 changed files with 4 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ name: 'Publish Immutable Action Version'
on:
release:
types: [published]
types: [released]
jobs:
publish:

View File

@@ -209,6 +209,9 @@ A cache key can include any of the contexts, functions, literals, and operators
For example, using the [`hashFiles`](https://docs.github.com/en/actions/learn-github-actions/expressions#hashfiles) function allows you to create a new cache when dependencies change.
> [!NOTE]
> The cache key is rendered during the restore stage, so can only depend on file state at that stage.
```yaml
- uses: actions/cache@v4
with: