Skip to content

Commit

Permalink
Update texgen.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
echavemann authored May 20, 2023
1 parent 837172f commit 6923975
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/texgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,7 @@ jobs:
with:
root_file: src.tex

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
- uses: actions/upload-artifact@v3
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./main.pdf
asset_name: main.pdf
asset_content_type: pdf
name: PDF
path: main.pdf

0 comments on commit 6923975

Please sign in to comment.