Slack -> EdStem #183
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 Practicals | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- practicals/** | |
jobs: | |
build-practicals: | |
runs-on: ubuntu-latest | |
container: texlive/texlive:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Disable git owner warning | |
run: git config --global safe.directory '*' | |
- name: Install Java | |
run: apt-get update && apt-get install -y default-jre graphviz | |
- name: Correct last modified | |
run: ./.github/workflows/set-last-updated.sh | |
- name: Compile Practicals | |
run: ./bin/build_practicals.sh | |
- name: Upload Practicals | |
uses: actions/upload-artifact@v4 | |
with: | |
name: practicals | |
path: | | |
./dist/**/* | |