Skip to content

Commit 8abb556

Browse files
authored
Merge pull request #164 from donghaiwang/main
添加根据版本号发布新版本功能
2 parents 5c2b025 + c9fe4a8 commit 8abb556

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/compileandrelease.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ jobs:
1212
- name: Compile LaTeX document
1313
uses: xu-cheng/latex-action@v3
1414
with:
15-
root_file: elegantbook-cn.tex
15+
root_file: PFC.tex
1616
texlive_version: 2023
1717
latexmk_use_xelatex: true
18+
19+
- name: Release
20+
uses: softprops/action-gh-release@v1
21+
if: startsWith(github.ref, 'refs/tags/')
22+
with:
23+
files: PFC.pdf
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)