Skip to content

Update curated_list_of_infamous_malware_reuben_johnston.tex #35

Update curated_list_of_infamous_malware_reuben_johnston.tex

Update curated_list_of_infamous_malware_reuben_johnston.tex #35

#Author: Reuben Johnston
#Description: Action to build project latex into pdf files when a release tag with formatl '*.*' is created.
name: Build LaTeX document
on:
push:
tags:
- '*.*'
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: curated_list_of_infamous_malware_reuben_johnston.tex
- name: Get release
id: get_release
uses: bruceadams/get-release@v1.3.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: ./curated_list_of_infamous_malware_reuben_johnston.pdf
asset_name: curated_list_of_infamous_malware_reuben_johnston.pdf
asset_content_type: pdf