diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 3ee9cb5295..cc1a1edb97 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -82,7 +82,7 @@ jobs: CUDA_VERSION: ${{ matrix.cuda_version }} DP_PKG_NAME: ${{ matrix.dp_pkg_name }} CIBW_BUILD_FRONTEND: 'build[uv]' - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v5 with: name: cibw-cp${{ matrix.python }}-${{ matrix.platform_id }}-cu${{ matrix.cuda_version }}-${{ strategy.job-index }} path: ./wheelhouse/*.whl @@ -96,7 +96,7 @@ jobs: - name: Build sdist run: pipx run uv tool run --with build[uv] --from build python -m build --installer uv --sdist - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v5 with: name: cibw-sdist path: dist/*.tar.gz diff --git a/.github/workflows/package_c.yml b/.github/workflows/package_c.yml index dae85816f5..81f0a34714 100644 --- a/.github/workflows/package_c.yml +++ b/.github/workflows/package_c.yml @@ -40,7 +40,7 @@ jobs: if: matrix.filename != 'libdeepmd_c.tar.gz' # for download and debug - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: libdeepmd_c-${{ strategy.job-index }}-${{ matrix.filename }} path: ${{ matrix.filename }} diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index 81738dcfe9..8c7c3ff5ec 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -72,7 +72,7 @@ jobs: if: matrix.group == 1 - run: mv .test_durations .test_durations_${{ matrix.group }} - name: Upload partial durations - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: split-${{ matrix.python }}-${{ matrix.group }} path: .test_durations_${{ matrix.group }}