fix workflow and add release uploading

This commit is contained in:
hiro98 2020-03-25 16:41:44 +01:00
parent d0f7369993
commit 6cfb2079b8

View file

@ -25,4 +25,15 @@ jobs:
# The working directory for the latex compiler to be invoked
working_directory: latex
# LaTeX engine to be used
compiler: luatex
compiler: lualatex
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./latex/document.pdf
asset_name: thesis.pdf
asset_content_type: application/pdf