From 6cfb2079b8dc041a178def84f16752254060874d Mon Sep 17 00:00:00 2001 From: hiro98 Date: Wed, 25 Mar 2020 16:41:44 +0100 Subject: [PATCH] fix workflow and add release uploading --- .github/workflows/{blank.yml => latex.yml} | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) rename .github/workflows/{blank.yml => latex.yml} (55%) diff --git a/.github/workflows/blank.yml b/.github/workflows/latex.yml similarity index 55% rename from .github/workflows/blank.yml rename to .github/workflows/latex.yml index f1ffa25..388fbd1 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/latex.yml @@ -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