mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-04-30 10:13:57 -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 }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Cache pip dependencies
|
- name: Cache pip dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||||
@@ -118,7 +118,7 @@ jobs:
|
|||||||
[ "$notebook_count" -gt 0 ] && echo "✓ Batch conversion successful"
|
[ "$notebook_count" -gt 0 ] && echo "✓ Batch conversion successful"
|
||||||
|
|
||||||
- name: Archive generated notebooks
|
- name: Archive generated notebooks
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: generated-notebooks-python-${{ matrix.python-version }}
|
name: generated-notebooks-python-${{ matrix.python-version }}
|
||||||
|
|||||||
Reference in New Issue
Block a user