From 0eda1579c3a8cb0ba46d685f651b67cb6abf7b81 Mon Sep 17 00:00:00 2001 From: "yuchen.cc" Date: Thu, 12 Dec 2024 11:55:50 +0800 Subject: [PATCH] revise release tag Signed-off-by: yuchen.cc --- .github/workflows/build_wheel.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 8654dd3..6611e35 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -54,7 +54,7 @@ jobs: - name: Upload uses: actions/upload-artifact@v4 with: - name: dist + name: dist-${{ strategy.job-index }} path: dist/oss*.whl release: @@ -64,15 +64,17 @@ jobs: steps: - name: Download builds and release notes uses: actions/download-artifact@v4 + with: + pattern: dist-* + merge-multiple: true + path: dist - name: Display downloaded files shell: bash run: | ls -l dist REFS=${{ github.ref }} REFS=${REFS#refs/tags/} - PACKAGE_NAME=${REFS%%/*} - RELEASE_VERSION="${REFS#*/v}" - echo "RELEASE_TAG=${PACKAGE_NAME}-${RELEASE_VERSION}" >> $GITHUB_ENV + echo "RELEASE_TAG=${REFS}" >> $GITHUB_ENV - name: Create Release uses: "marvinpinto/action-automatic-releases@latest" with: