From 4e5ce6881f54aa0e9138f0da4bb93e66c67f00d5 Mon Sep 17 00:00:00 2001 From: Yichen Zhao <njuzhaoyichen@gmail.com> Date: Sun, 12 Sep 2021 18:07:46 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=AE=8C=E5=96=84action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 104773c..76ac5b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: - name: Zip Release Source run: | - zip -r njuthesis.zip . -x ".github/*" ".gitignore" + zip -r njuthesis.zip . -x ".git/*" ".github/*" ".gitignore" - name: Download artifact uses: actions/download-artifact@v2 @@ -45,12 +45,13 @@ jobs: - name: Zip CTAN Source run: | - mkdir -p doc/example - cp -r chapters njuthesis.tex doc/example - cp njuthesis.pdf doc - mv README.md README_ZH_CN.md - mv README_EN.md README.md - zip -r njuthesis_ctan.zip . -x ".github/*" ".gitignore" "chapters/*" "njuthesis.*" + mkdir -p njuthesis/doc/example + cp -r chapters njuthesis.tex njuthesis.bib Makefile njuthesis/doc/example + cp njuthesis.pdf njuthesis/doc + cp README.md njuthesis/README_ZH_CN.md + cp README_EN.md njuthesis/README.md + cp -r figure profile LICENSE njuthesis.cls njuthesis + zip -r njuthesis_ctan.zip njuthesis - uses: "marvinpinto/action-automatic-releases@latest" with: -- GitLab