File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 48
48
sudo apt-get install libcairo2-dev libpango1.0-dev ffmpeg freeglut3-dev
49
49
- name : Install local Python package
50
50
run : poetry install --extras=manim --with docs
51
- - name : Restore cached media
52
- id : cache-media-restore
53
- uses : actions/cache/restore@v3
54
- with :
55
- path : media
56
- key : ${{ runner.os }}-media
57
51
- name : Build animations
58
52
run : |
59
53
poetry run manim example.py ConvertExample BasicExample ThreeDExample
64
58
poetry run manim-slides convert -v DEBUG ThreeDExample docs/source/_static/three_d_example.html -ccontrols=true
65
59
- name : Show docs/source/_static/ dir content (video only)
66
60
run : tree -L 3 docs/source/_static/ -P '*.mp4'
67
- - name : Clear cache
68
- run : |
69
- gh extension install actions/gh-actions-cache
70
- gh actions-cache delete ${{ steps.cache-media-restore.outputs.cache-primary-key }} --confirm || true
71
- env :
72
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73
- - name : Save media to cache
74
- id : cache-media-save
75
- uses : actions/cache/save@v3
76
- with :
77
- path : media
78
- key : ${{ steps.cache-media-restore.outputs.cache-primary-key }}
79
61
- name : Build docs
80
62
run : cd docs && poetry run make html
81
63
- name : Upload artifact
You can’t perform that action at this time.
0 commit comments