Skip to content

Commit

Permalink
prayge
Browse files Browse the repository at this point in the history
  • Loading branch information
echavemann authored May 20, 2023
1 parent 34bd44e commit 86d7409
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/texgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,23 @@ jobs:
uses: xu-cheng/latex-action@v2
with:
root_file: "src.tex"
- name: Upload
uses: actions/upload-artifact@v3
- name: Release
id: release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
name: PDF
path: src.pdf
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }} ${{ github.event.head_commit.message }}
draft: false
prerelease: false
- name: Upload
id: upload
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./file1.pdf
asset_name: file1.pdf
asset_content_type: pdf

0 comments on commit 86d7409

Please sign in to comment.