From 6924c70a28f680b18f0ef77d24f1d4aaf7d3c721 Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Thu, 24 Oct 2024 21:32:30 +0200 Subject: [PATCH] fix artifact naming in release --- .github/workflows/release.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f1a4b6d..bf1a94d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -125,7 +125,7 @@ jobs: os: "windows-latest", arch: "amd64", maturin_target: "x64", - wasiSDK: "", + wasiSDK: "mingw", extension: ".exe", buildArgs: "", target: "", @@ -240,13 +240,13 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: componentize-py + name: componentize-py-${{ matrix.config.wasiSDK }}-${{ matrix.config.arch }} path: dist - name: Upload build artifact uses: actions/upload-artifact@v4 with: - name: componentize-py + name: componentize-py-${{ matrix.config.wasiSDK }}-${{ matrix.config.arch }}-tar path: _dist/componentize-py-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz - name: Upload binary to Github release (tag) @@ -283,7 +283,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: componentize-py + name: componentize-py-checksums path: checksums-${{ env.RELEASE_VERSION }}.txt - name: Upload checksums to Github release (tag) @@ -311,7 +311,7 @@ jobs: - name: Upload sdist uses: actions/upload-artifact@v4 with: - name: componentize-py + name: componentize-py-sdist path: dist update_canary_release: @@ -323,7 +323,8 @@ jobs: - name: Download release assets uses: actions/download-artifact@v4 with: - name: componentize-py + pattern: componentize-py-* + merge-multiple: true - name: Delete canary tag run: gh release delete --cleanup-tag -y