mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-03-12 03:13:35 -05:00
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:
4
.github/workflows/test-notebooks.yml
vendored
4
.github/workflows/test-notebooks.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user