From e2ca187fee800c5eabd8728495e5c89757d9411d Mon Sep 17 00:00:00 2001 From: rvo Date: Sun, 12 Sep 2021 15:07:02 -0700 Subject: [PATCH] docs(examples): use expression syntax to access "steps" context --- examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples.md b/examples.md index 1f6ecef..a7963b4 100644 --- a/examples.md +++ b/examples.md @@ -240,7 +240,7 @@ If using `npm config` to retrieve the cache directory, ensure you run [actions/s run: | echo "::set-output name=dir::$(npm config get cache)" - uses: actions/cache@v2 - id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true' + id: npm-cache # use this to check for `cache-hit` ==> if: ${{ steps.npm-cache.outputs.cache-hit != 'true' }} with: path: ${{ steps.npm-cache-dir.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}