Skip to content

Commit

Permalink
add an action to build the book
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Aug 17, 2023
1 parent e12d94f commit f145e57
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-book.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build book

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
cpp-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install dependencies
run: |
sudo apt-get update -y -qq
sudo apt-get -qq -y install texlive build-essential
- name: Build
run: |
make
- name: Archive
uses: actions/upload-artifact@v3
with:
name: book-pdf
path: CompHydroTutorial.pdf

0 comments on commit f145e57

Please sign in to comment.