From d471dd7c8a3e8e7076a863ea9cb7096d2d397f42 Mon Sep 17 00:00:00 2001 From: Cristian Date: Fri, 23 Oct 2020 06:54:37 -0500 Subject: [PATCH] feat: Update usage of get-env in gh-actions (deprecation) --- .github/workflows/test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e0d52473..2d641a47 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -73,7 +73,6 @@ jobs: python -m pip install . python -m pip install pytest bottle - - name: Get npm cache dir id: npm-cache run: | @@ -91,10 +90,9 @@ jobs: - name: Install npm requirements run: | npm install - echo "::set-env name=SINGLEFILE_BINARY::$GITHUB_WORKSPACE/node_modules/.bin/single-file" - echo "::set-env name=READABILITY_BINARY::$GITHUB_WORKSPACE/node_modules/.bin/readability-extractor" - echo "::set-env name=MERCURY_BINARY::$GITHUB_WORKSPACE/node_modules/.bin/mercury-parser" - + echo "SINGLEFILE_BINARY=$GITHUB_WORKSPACE/node_modules/.bin/single-file" >> $GITHUB_ENV + echo "READABILITY_BINARY=$GITHUB_WORKSPACE/node_modules/.bin/readability-extractor" >> $GITHUB_ENV + echo "MERCURY_BINARY=$GITHUB_WORKSPACE/node_modules/.bin/mercury-parser" >> $GITHUB_ENV ### Run the tests - name: Directory listing for debugging