diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index e700109cce..9db0e5776d 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -77,7 +77,7 @@ jobs: DP_VARIANT: ${{ matrix.dp_variant }} CUDA_VERSION: ${{ matrix.cuda_version }} DP_PKG_NAME: ${{ matrix.dp_pkg_name }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl build_sdist: @@ -96,7 +96,7 @@ jobs: - name: Build sdist run: python -m build --sdist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz diff --git a/.github/workflows/package_c.yml b/.github/workflows/package_c.yml index 2b5f74b97d..b9b7857db5 100644 --- a/.github/workflows/package_c.yml +++ b/.github/workflows/package_c.yml @@ -28,7 +28,7 @@ jobs: if: matrix.filename != 'libdeepmd_c.tar.gz' # for download and debug - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: libdeepmd_c path: ${{ matrix.filename }}