@@ -17,28 +17,34 @@ jobs:
1717 steps :
1818 - name : Checkout
1919 uses : actions/checkout@v4
20- - name : Setup Anaconda
21- uses : conda-incubator/setup-miniconda@v3
22- with :
23- auto-update-conda : true
24- auto-activate-base : true
25- miniconda-version : ' latest'
26- python-version : " 3.12"
27- environment-file : environment.yml
28- activate-environment : quantecon
29- - name : Download "build" folder (cache)
30- uses : dawidd6/action-download-artifact@v10
31- with :
32- workflow : cache.yml
33- branch : main
34- name : build-cache
35- path : _build
3620 - name : Link Checker
37- shell : bash -l {0}
38- run : jb build lectures --path-output=./ --builder=custom --custom-builder=linkcheck
39- - name : Upload Link Checker Reports
40- uses : actions/upload-artifact@v4
41- if : failure()
21+ id : lychee
22+ uses : lycheeverse/lychee-action@v2
4223 with :
43- name : linkcheck-reports
44- path : _build/linkcheck
24+ args : --accept 403
25+ workingDirectory : lectures
26+ # - name: Setup Anaconda
27+ # uses: conda-incubator/setup-miniconda@v3
28+ # with:
29+ # auto-update-conda: true
30+ # auto-activate-base: true
31+ # miniconda-version: 'latest'
32+ # python-version: "3.12"
33+ # environment-file: environment.yml
34+ # activate-environment: quantecon
35+ # - name: Download "build" folder (cache)
36+ # uses: dawidd6/action-download-artifact@v10
37+ # with:
38+ # workflow: cache.yml
39+ # branch: main
40+ # name: build-cache
41+ # path: _build
42+ # - name: Link Checker
43+ # shell: bash -l {0}
44+ # run: jb build lectures --path-output=./ --builder=custom --custom-builder=linkcheck
45+ # - name: Upload Link Checker Reports
46+ # uses: actions/upload-artifact@v4
47+ # if: failure()
48+ # with:
49+ # name: linkcheck-reports
50+ # path: _build/linkcheck
0 commit comments