From b38ee83c27581946718ba93cb9ea8d6b5d7f8e74 Mon Sep 17 00:00:00 2001 From: hect0x7 <93357912+hect0x7@users.noreply.github.com> Date: Tue, 4 Apr 2023 11:20:37 +0800 Subject: [PATCH] =?UTF-8?q?Github=20Actions=E4=BC=98=E5=8C=96=EF=BC=9A?= =?UTF-8?q?=E4=BD=BF=E7=94=A8tar=E5=8E=8B=E7=BC=A9=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=9D=A5=E5=8A=A0=E5=BF=AB=E4=B8=8A=E4=BC=A0=20(#7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/action_workflow.yml | 4 ++-- .github/workflows/action_workflow_local.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/action_workflow.yml b/.github/workflows/action_workflow.yml index 3394220..3809565 100644 --- a/.github/workflows/action_workflow.yml +++ b/.github/workflows/action_workflow.yml @@ -36,7 +36,7 @@ jobs: - name: 压缩下载的漫画 run: | cd /home/runner/work/jmcomic/download/ - zip -r ./下载完成的本子.zip ./* + tar -zcvf ../下载完成的本子.tar.gz ./ - name: 上传结果 uses: actions/upload-artifact@v3 @@ -44,7 +44,7 @@ jobs: # Artifact name name: 下载完成的本子 # A file, directory or wildcard pattern that describes what to upload - path: /home/runner/work/jmcomic/download/下载完成的本子.zip + path: /home/runner/work/jmcomic/下载完成的本子.tar.gz # The desired behavior if no files are found using the provided path. if-no-files-found: warn # Duration after which artifact will expire in days. 0 means using default retention.Minimum 1 day. Maximum 90 days unless changed from the repository settings page. diff --git a/.github/workflows/action_workflow_local.yml b/.github/workflows/action_workflow_local.yml index 7ca0bdb..4059bdf 100644 --- a/.github/workflows/action_workflow_local.yml +++ b/.github/workflows/action_workflow_local.yml @@ -43,7 +43,7 @@ jobs: - name: 压缩下载的漫画 run: | cd /home/runner/work/jmcomic/download/ - zip -r ./下载完成的本子.zip ./* + tar -zcvf ../下载完成的本子.tar.gz ./ - name: 上传结果 uses: actions/upload-artifact@v3 @@ -51,7 +51,7 @@ jobs: # Artifact name name: 下载完成的本子 # A file, directory or wildcard pattern that describes what to upload - path: /home/runner/work/jmcomic/download/下载完成的本子.zip + path: /home/runner/work/jmcomic/下载完成的本子.tar.gz # The desired behavior if no files are found using the provided path. if-no-files-found: warn # Duration after which artifact will expire in days. 0 means using default retention.Minimum 1 day. Maximum 90 days unless changed from the repository settings page.