fix: Update GitHub Actions to use v4 of upload-artifact and cache

- Upgrade actions/upload-artifact from v3 to v4
- Upgrade actions/cache from v3 to v4
- Resolves deprecation warnings causing workflow failures
This commit is contained in:
Vijay Janapa Reddi
2025-10-19 12:49:23 -04:00
parent c0f99164a5
commit 9a4c329b61

View File

@@ -32,7 +32,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Cache pip dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
@@ -118,7 +118,7 @@ jobs:
[ "$notebook_count" -gt 0 ] && echo "✓ Batch conversion successful"
- name: Archive generated notebooks
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: generated-notebooks-python-${{ matrix.python-version }}