Skip to content

Commit 7d14ebf

Browse files
authored
Create release.yml
1 parent aaebec8 commit 7d14ebf

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release Resume
2+
3+
on:
4+
release:
5+
types: [ published ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
# Build the LaTex resume using a GitHub Action
14+
- name: LaTeX Action
15+
uses: fudan-mse/[email protected]
16+
with:
17+
root_file: resume.tex
18+
19+
- name: Upload resume to the GitHub release that triggered the workflow
20+
run: |
21+
gh release upload ${{ github.event.release.tag_name }} resume.pdf
22+
gh release upload ${{ github.event.release.tag_name }} resume.tex
23+
env:
24+
GH_TOKEN: ${{ github.token }}
25+

0 commit comments

Comments
 (0)