Skip to content

Commit

Permalink
修复版本号,修复release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
putianyi889 committed Jul 4, 2023
1 parent 407c652 commit 32019ed
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,21 @@ jobs:
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Compile LaTeX document
- name: Compile on-screen version
uses: xu-cheng/latex-action@v2
with:
root_file: main.tex
root_file: TerrariaWiringTutorial_onscreen.tex
latexmk_use_xelatex: true
- name: Compile printed version
uses: xu-cheng/latex-action@v2
with:
root_file: TerrariaWiringTutorial_printed.tex
latexmk_use_xelatex: true
- name: Release
uses: marvinpinto/action-automatic-releases@v1.2.1
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: main.pdf
files: |
TerrariaWiringTutorial_onscreen.pdf
TerrariaWiringTutorial_printed.pdf
2 changes: 1 addition & 1 deletion main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
\title{
\includegraphics[width=0.7\textwidth]{figure/terraria.png}\\
电路文档\\
v3.2
v3.3.1
}

\author{putianyi888}
Expand Down

0 comments on commit 32019ed

Please sign in to comment.