Fix affiliation bug (#77) #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compile example paper | |
on: | |
# Build any branch | |
push: | |
paths: | |
- 'example/*' | |
pull_request: | |
paths: | |
- 'example/*' | |
# Build, but don't push on pull requests | |
jobs: | |
build: | |
name: Example PDF | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build PDF | |
run: >- | |
docker run \ | |
--volume "$(pwd):/data" \ | |
--user "$(id -u):$(id -g)" \ | |
openjournals/inara:latest \ | |
-o contextpdf,tex example/paper.md | |
- name: Upload PDF | |
uses: actions/upload-artifact@v3 | |
with: | |
name: paper | |
path: | | |
example/paper.context.pdf | |
example/paper.tex |