Skip to content

Commit 9d4f216

Browse files
committed
fix error
1 parent a7f3adf commit 9d4f216

6 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/dianshijia.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
with:
2222
node-version: 10.x
2323
- name: npm install
24-
if: env.DSJ_HEADERS
2524
run: |
2625
npm install
2726
- name: '运行 【电视家】'
27+
if: env.DSJ_HEADERS
2828
run: |
2929
node Task/dianshijia.js
3030
env:

.github/workflows/jingxi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
node-version: 10.x
2222
- name: npm install
23-
if: env.JD_COOKIE
2423
run: |
2524
npm install
2625
- name: '运行 【京喜】'
26+
if: env.JD_COOKIE
2727
run: |
2828
node Task/jingxi.js
2929
env:

.github/workflows/midu_read.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ jobs:
2222
with:
2323
node-version: 10.x
2424
- name: npm install
25-
if: env.MIDU_COOKIE
25+
2626
run: |
2727
npm install
2828
- name: '运行 【米读自动阅读】'
29+
if: env.MIDU_COOKIE
2930
run: |
3031
node Task/midu_Read.js
3132
env:

.github/workflows/txnews.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
with:
2929
node-version: 10.x
3030
- name: npm install
31-
if: env.TXNEWS_COOKIE
3231
run: |
3332
npm install
3433
- name: '运行 【腾讯新闻】'
34+
if: env.TXNEWS_COOKIE
3535
run: |
3636
node Task/txnews.js
3737
env:

.github/workflows/weibo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
run: |
2626
npm install
2727
- name: '运行 【新浪微博】'
28+
if: env.WB_TOKEN
2829
run: |
2930
node Task/weibo.js
3031
env:

.github/workflows/youth.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
run: |
3131
npm install
3232
- name: '运行 【中青看点】'
33+
if: env.YOUTH_HEADER
3334
run: |
3435
node Task/youth.js
3536
env:

0 commit comments

Comments
 (0)