From a302d2b61f2939af33815a8613c328998442d89b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Barto=C5=A1?= Date: Sat, 17 Oct 2020 18:57:30 +0200 Subject: [PATCH] Readme: fix env variable usage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7cfaec0..5001448 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ jobs: - uses: actions/github-script@v2 with: script: | - const script = require(`${process.env.GITHUB_WORKSPACE}/path/to/script.js`) + const script = require(`${{ env.GITHUB_WORKSPACE }}/path/to/script.js`) console.log(script({github, context})) ```