Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
NJUThesis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Wendi Zheng
NJUThesis
Commits
4b149aa4
Commit
4b149aa4
authored
3 years ago
by
HermitSun
Browse files
Options
Downloads
Patches
Plain Diff
chore: update release files
parent
6b5e59ea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/build.yml
+11
-11
11 additions, 11 deletions
.github/workflows/build.yml
with
11 additions
and
11 deletions
.github/workflows/build.yml
+
11
−
11
View file @
4b149aa4
...
...
@@ -32,7 +32,7 @@ jobs:
with
:
root_file
:
njuthesis-sample.tex
latexmk_use_${{ matrix.latex }}
:
true
args
:
'
-bibtex
'
args
:
"
-bibtex
"
-
name
:
Upload PDF
uses
:
actions/upload-artifact@v2
...
...
@@ -62,27 +62,27 @@ jobs:
-
name
:
Set Version
run
:
echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
-
name
:
Zip Release Source
run
:
|
zip -r njuthesis-$VERSION.zip . -x ".git/*" "*.ins" ".github/*" ".gitignore" "*.dtx" ".pdf"
-
name
:
Compile to PDF
uses
:
HermitSun/latex-action@v3
with
:
root_file
:
njuthesis.dtx
latexmk_use_${{ matrix.latex }}
:
true
args
:
'
-bibtex'
args
:
"
-bibtex"
pre_compile
:
"
xetex
njuthesis.dtx"
post_compile
:
"
mv
njuthesis.pdf
njuthesis-$VERSION.pdf"
-
name
:
Zip Release Source
run
:
|
zip -r njuthesis-$VERSION.zip .vscode chapters/ latexmkrc LICENSE Makefile njuthesis.bib njuthesis.cls njuthesis-sample.tex njuvisual.sty README.md
-
name
:
Zip CTAN Source
run
:
|
mkdir -p njuthesis/
cp njuthesis-$VERSION.pdf njuthesis/njuthesis-$VERSION.pdf
cp README.md njuthesis/README_ZH_CN.md
cp README_EN.md njuthesis/README.md
cp -r figure/ LICENSE njuthesis.dtx njuthesis/
cp njuthesis-$VERSION.pdf njuthesis/njuthesis.pdf
cp README-ctan.md njuthesis/README.md
cp LICENSE njuthesis.dtx njuvisual.dtx njuthesis.ins njuthesis/
zip -r njuthesis-ctan-$VERSION.zip njuthesis/
-
uses
:
"
marvinpinto/action-automatic-releases@latest"
with
:
repo_token
:
"
${{
secrets.GITHUB_TOKEN
}}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment