Skip to content

Commit 8df766e

Browse files
authored
优化工作流和option (#90)
1 parent 68ba3b8 commit 8df766e

File tree

4 files changed

+9
-28
lines changed

4 files changed

+9
-28
lines changed

.github/workflows/download.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
- name: 压缩文件
5050
run: |
5151
cd $JM_DOWNLOAD_DIR
52-
tar -zcvf ../$ZIP_NAME ./
53-
mv ../$ZIP_NAME .
52+
tar -zcvf "../$ZIP_NAME" ./
53+
mv "../$ZIP_NAME" .
5454
5555
- name: 上传结果
5656
uses: actions/upload-artifact@v3

.github/workflows/download_dispatch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
- name: 压缩文件
8080
run: |
8181
cd $JM_DOWNLOAD_DIR
82-
tar -zcvf ../$ZIP_NAME ./
83-
mv ../$ZIP_NAME .
82+
tar -zcvf "../$ZIP_NAME" ./
83+
mv "../$ZIP_NAME" .
8484
8585
- name: 上传结果
8686
uses: actions/upload-artifact@v3

assets/config/option.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

assets/config/option_workflow_download.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ version: '2.0'
44
dir_rule:
55
base_dir: /home/runner/work/jmcomic/download/
66
rule: Bd_Aauthor_Atitle_Pindex
7+
8+
client:
9+
domain:
10+
- 18comic.vip
11+
- 18comic.org

0 commit comments

Comments
 (0)