From 890c02944bd88b8ca68a2b71ed69c0f7511b9613 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Mon, 15 Jan 2024 16:18:31 +0100 Subject: [PATCH] [ci] Use unique artifact name --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4be086..37f630f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,7 @@ jobs: if: matrix.os == 'windows-latest' - uses: actions/upload-artifact@v4 with: - name: ${{ matrix.os }} + name: ${{ matrix.os }}-${{ matrix.arch }} path: prebuilds retention-days: 1 release: @@ -90,16 +90,17 @@ jobs: id: get_version - run: tar -cvf "${{ steps.get_version.outputs.version - }}-darwin-x64+arm64.tar" -C "prebuilds/macos-latest" . + }}-darwin-x64+arm64.tar" -C "prebuilds/macos-latest-x64" + darwin-x64+arm64 - run: tar -cvf "${{ steps.get_version.outputs.version }}-linux-x64.tar" -C - "prebuilds/ubuntu-20.04" linux-x64 + "prebuilds/ubuntu-20.04-x64" linux-x64 - run: tar -cvf "${{ steps.get_version.outputs.version }}-win32-ia32.tar" -C - "prebuilds/windows-latest" win32-ia32 + "prebuilds/windows-latest-x86" win32-ia32 - run: tar -cvf "${{ steps.get_version.outputs.version }}-win32-x64.tar" -C - "prebuilds/windows-latest" win32-x64 + "prebuilds/windows-latest-x64" win32-x64 - uses: softprops/action-gh-release@v1 with: files: ${{ steps.get_version.outputs.version }}-*.tar