Skip to content

Commit 9b47058

Browse files
committed
update .github/workflows/xelatex.yml: fix release command
1 parent e923023 commit 9b47058

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/xelatex.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,12 @@ jobs:
3030
# xelatex -interaction=nonstopmode -output-directory=./dist main.tex
3131
mv ./dist/main.pdf ../resume-wei_chang.pdf
3232
33-
- name: Force update latest tag
34-
run: |
35-
pwd
36-
git config user.name "Wei Chang"
37-
git config user.email "[email protected]"
38-
git tag -f latest
39-
git push origin latest --force
33+
- name: Upload PDF to Release
34+
uses: actions/create-release@v1
4035
env:
4136
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
43-
- name: Upload PDF to Release
44-
uses: softprops/action-gh-release@v1
4537
with:
4638
tag_name: latest
47-
files: resume-wei_chang.pdf
48-
overwrite: true
49-
env:
50-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
release_name: latest
40+
draft: false
41+
prerelease: false

0 commit comments

Comments
 (0)