Add software requirements #8
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
on: [push] | |
jobs: | |
paper: | |
runs-on: ubuntu-latest | |
name: Paper Draft | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Build draft PDF | |
uses: openjournals/openjournals-draft-action@master | |
with: | |
journal: joss | |
paper-path: paper/paper.md | |
- name: Upload PDF Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: paper | |
path: paper/paper.pdf | |
- name: Commit and Push PDF | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GeorgeVassilakis" | |
git add paper/paper.pdf | |
git commit -m "Update PDF" || echo "No changes to commit" | |
git push |