Skip to content

Commit 9c3746b

Browse files
authored
Merge pull request #28088 from github/repo-sync
repo sync
2 parents 6b26400 + ab6ce89 commit 9c3746b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
{% raw %}${{ runner.os }}-build-{% endraw %}
141141
{% raw %}${{ runner.os }}-{% endraw %}
142142
143-
- if: {% raw %}${{ steps.cache-npm.outputs.cache-hit == false }}{% endraw %}
143+
- if: {% raw %}${{ steps.cache-npm.outputs.cache-hit == 'false' }}{% endraw %}
144144
name: List the state of node modules
145145
continue-on-error: true
146146
run: npm list
@@ -196,7 +196,7 @@ You can use the output of the `cache` action to do something based on whether a
196196
In the example workflow above, there is a step that lists the state of the Node modules if a cache miss occurred:
197197

198198
```yaml
199-
- if: {% raw %}${{ steps.cache-npm.outputs.cache-hit == false }}{% endraw %}
199+
- if: {% raw %}${{ steps.cache-npm.outputs.cache-hit == 'false' }}{% endraw %}
200200
name: List the state of node modules
201201
continue-on-error: true
202202
run: npm list

0 commit comments

Comments
 (0)