feat: Update usage of get-env in gh-actions (deprecation)
This commit is contained in:
parent
f330e6428b
commit
d471dd7c8a
1 changed files with 3 additions and 5 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -73,7 +73,6 @@ jobs:
|
||||||
python -m pip install .
|
python -m pip install .
|
||||||
python -m pip install pytest bottle
|
python -m pip install pytest bottle
|
||||||
|
|
||||||
|
|
||||||
- name: Get npm cache dir
|
- name: Get npm cache dir
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
run: |
|
run: |
|
||||||
|
@ -91,10 +90,9 @@ jobs:
|
||||||
- name: Install npm requirements
|
- name: Install npm requirements
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
echo "::set-env name=SINGLEFILE_BINARY::$GITHUB_WORKSPACE/node_modules/.bin/single-file"
|
echo "SINGLEFILE_BINARY=$GITHUB_WORKSPACE/node_modules/.bin/single-file" >> $GITHUB_ENV
|
||||||
echo "::set-env name=READABILITY_BINARY::$GITHUB_WORKSPACE/node_modules/.bin/readability-extractor"
|
echo "READABILITY_BINARY=$GITHUB_WORKSPACE/node_modules/.bin/readability-extractor" >> $GITHUB_ENV
|
||||||
echo "::set-env name=MERCURY_BINARY::$GITHUB_WORKSPACE/node_modules/.bin/mercury-parser"
|
echo "MERCURY_BINARY=$GITHUB_WORKSPACE/node_modules/.bin/mercury-parser" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|
||||||
### Run the tests
|
### Run the tests
|
||||||
- name: Directory listing for debugging
|
- name: Directory listing for debugging
|
||||||
|
|
Loading…
Reference in a new issue