Proofread — typos, style, clarification, grammar. #333
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: Build Article | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Podman | |
run: | | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install podman | |
- name: Install make and git-annex | |
run: sudo apt-get -y install make git-annex | |
# Since we use regular actions/checkout@v4 it does not trigger | |
# auto-enabling of the gin remote | |
- name: Enable gin remote | |
run: git annex enableremote gin.g-node.org | |
- name: Build rescience article | |
run: make container-article FORMAT=rescience | |
- name: Build frontiers article | |
run: make container-article FORMAT=frontiers | |
- name: Upload PDF artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: article-frontiers | |
path: article/article.pdf |