Skip to content
Snippets Groups Projects
Commit 4e5ce688 authored by Yichen Zhao's avatar Yichen Zhao
Browse files

chore: 完善action

parent 023c89c0
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment