Skip to content

Commit cbd9876

Browse files
committed
MAINT: update ci.yml workflow versions and report upload
1 parent fb38c55 commit cbd9876

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/ci.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Checkout
8-
uses: actions/checkout@v2
8+
uses: actions/checkout@v4
99
- name: Setup Anaconda
10-
uses: conda-incubator/setup-miniconda@v2
10+
uses: conda-incubator/setup-miniconda@v3
1111
with:
1212
auto-update-conda: true
1313
auto-activate-base: true
@@ -35,7 +35,7 @@ jobs:
3535
shell: bash -l {0}
3636
run: pip list
3737
- name: Download "build" folder (cache)
38-
uses: dawidd6/action-download-artifact@v2
38+
uses: dawidd6/action-download-artifact@v3
3939
with:
4040
workflow: cache.yml
4141
branch: main
@@ -62,13 +62,19 @@ jobs:
6262
run: |
6363
rm -r _build/.doctrees
6464
jb build lectures --path-output ./ -nW --keep-going
65+
- name: Upload Execution Reports (Download Notebooks)
66+
uses: actions/upload-artifact@v4
67+
if: failure()
68+
with:
69+
name: execution-reports
70+
path: _build/jupyter/reports
6571
- name: Save Build as Artifact
66-
uses: actions/upload-artifact@v1
72+
uses: actions/upload-artifact@v4
6773
with:
6874
name: _build
6975
path: _build
7076
- name: Preview Deploy to Netlify
71-
uses: nwtgck/actions-netlify@v1.1
77+
uses: nwtgck/actions-netlify@v2
7278
with:
7379
publish-dir: '_build/html/'
7480
production-branch: master

0 commit comments

Comments
 (0)