From a5a6a50522845efabdfdb2e36dec8f3a9be951f6 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Wed, 20 Dec 2023 15:51:04 -0500 Subject: [PATCH] update name --- .github/workflows/build_wheel.yml | 5 +++-- .github/workflows/package_c.yml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 0236418add..40fc036419 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -79,7 +79,7 @@ jobs: DP_PKG_NAME: ${{ matrix.dp_pkg_name }} - uses: actions/upload-artifact@v4 with: - name: cibw-${{ github.job }}-${{ strategy.job-index }} + name: cibw-cp${{ matrix.python }}-${{ matrix.platform_id }}-cu${{ matrix.cuda_version }}-${{ strategy.job-index }} path: ./wheelhouse/*.whl build_sdist: name: Build source distribution @@ -99,7 +99,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: sdist + name: cibw-sdist path: dist/*.tar.gz upload_pypi: @@ -112,6 +112,7 @@ jobs: steps: - uses: actions/download-artifact@v4 with: + pattern: cibw-* path: dist merge-multiple: true - uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/package_c.yml b/.github/workflows/package_c.yml index 4fc8debac3..5594c79181 100644 --- a/.github/workflows/package_c.yml +++ b/.github/workflows/package_c.yml @@ -30,7 +30,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: libdeepmd_c-${{ github.job }}-${{ strategy.job-index }} + name: libdeepmd_c-${{ strategy.job-index }}-${{ matrix.filename }} path: ${{ matrix.filename }} - name: Test C library run: ./source/install/docker_test_package_c.sh @@ -48,6 +48,7 @@ jobs: - name: Download artifact uses: actions/download-artifact@v4 with: + pattern: libdeepmd_c-* merge-multiple: true - run: tar -vxzf ./libdeepmd_c.tar.gz - name: Test C library