Skip to content

Commit

Permalink
make 22/23 Term 1 problems public
Browse files Browse the repository at this point in the history
  • Loading branch information
Levelent committed Nov 15, 2022
1 parent bdb7749 commit 9494f34
Show file tree
Hide file tree
Showing 141 changed files with 3,172,918 additions and 27,016 deletions.
35 changes: 27 additions & 8 deletions .github/workflows/pdf.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Generate PDFs

on:
push:
on: push

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -14,16 +14,35 @@ jobs:
uses: xu-cheng/latex-action@v2
with:
root_file: |
2021-11-24/21_11_24_problems.tex
2022-02-16/22_02_16_problems.tex
2022-Mini/mini_problems.tex
2122_t1/problems.tex
2122_t2/problems.tex
2122_t3/problems.tex
2223_t1/problems.tex
work_in_root_file_dir: true

- name: Move files
run: |
mv 2122_t1/problems.pdf 2122_t1.pdf
mv 2122_t2/problems.pdf 2122_t2.pdf
mv 2122_t3/problems.pdf 2122_t3.pdf
mv 2223_t1/problems.pdf 2223_t1.pdf
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: UWCS Programming Problem Sets
path: |
2021-11-24/21_11_24_problems.pdf
2022-02-16/22_02_16_problems.pdf
2022-Mini/mini_problems.pdf
2122_t1.pdf
2122_t2.pdf
2122_t3.pdf
2223_t1.pdf
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
2122_t1.pdf
2122_t2.pdf
2122_t3.pdf
2223_t1.pdf
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -277,4 +277,5 @@ TSWLatexianTemp*

# Testing scripts
**/script.py
**/output.txt
**/output.txt
**/*.zip
Loading

0 comments on commit 9494f34

Please sign in to comment.