Skip to content

Commit 9494f34

Browse files
committed
make 22/23 Term 1 problems public
1 parent bdb7749 commit 9494f34

File tree

141 files changed

+3172918
-27016
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+3172918
-27016
lines changed

.github/workflows/pdf.yml

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Generate PDFs
22

3-
on:
4-
push:
3+
on: push
4+
55
jobs:
66
build:
77
runs-on: ubuntu-latest
@@ -14,16 +14,35 @@ jobs:
1414
uses: xu-cheng/latex-action@v2
1515
with:
1616
root_file: |
17-
2021-11-24/21_11_24_problems.tex
18-
2022-02-16/22_02_16_problems.tex
19-
2022-Mini/mini_problems.tex
17+
2122_t1/problems.tex
18+
2122_t2/problems.tex
19+
2122_t3/problems.tex
20+
2223_t1/problems.tex
2021
work_in_root_file_dir: true
22+
23+
- name: Move files
24+
run: |
25+
mv 2122_t1/problems.pdf 2122_t1.pdf
26+
mv 2122_t2/problems.pdf 2122_t2.pdf
27+
mv 2122_t3/problems.pdf 2122_t3.pdf
28+
mv 2223_t1/problems.pdf 2223_t1.pdf
2129
2230
- name: Upload Artifacts
2331
uses: actions/upload-artifact@v2
2432
with:
2533
name: UWCS Programming Problem Sets
2634
path: |
27-
2021-11-24/21_11_24_problems.pdf
28-
2022-02-16/22_02_16_problems.pdf
29-
2022-Mini/mini_problems.pdf
35+
2122_t1.pdf
36+
2122_t2.pdf
37+
2122_t3.pdf
38+
2223_t1.pdf
39+
40+
- name: Release
41+
uses: softprops/action-gh-release@v1
42+
if: startsWith(github.ref, 'refs/tags/')
43+
with:
44+
files: |
45+
2122_t1.pdf
46+
2122_t2.pdf
47+
2122_t3.pdf
48+
2223_t1.pdf

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,4 +277,5 @@ TSWLatexianTemp*
277277

278278
# Testing scripts
279279
**/script.py
280-
**/output.txt
280+
**/output.txt
281+
**/*.zip

0 commit comments

Comments
 (0)