From 34b0347acdcedf09139e3f3e5e47dbe2b0515487 Mon Sep 17 00:00:00 2001 From: Aram Akhavan Date: Fri, 6 Feb 2026 12:29:15 -0800 Subject: [PATCH] Fix release workflow (#873) Newer version of upload-artifact requires unique artifact names, but the matrix was using the same name for all of them. --- .github/workflows/release.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5ccfa70..27542fa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -103,10 +103,10 @@ jobs: - name: Archive uses: actions/upload-artifact@v4 with: - name: binaries.zip + name: scrutiny-${{ matrix.cfg.goos }}-${{ matrix.cfg.goarch }}${{ matrix.cfg.goarm && '-' }}${{ matrix.cfg.goarm || '' }}.zip path: | - scrutiny-web-* - scrutiny-collector-metrics-* + scrutiny-web-${{ matrix.cfg.goos }}-${{ matrix.cfg.goarch }}${{ matrix.cfg.goarm && '-' }}${{ matrix.cfg.goarm || '' }}${{ matrix.cfg.goos == 'windows' && '.exe' }} + scrutiny-collector-metrics-${{ matrix.cfg.goos }}-${{ matrix.cfg.goarch }}${{ matrix.cfg.goarm && '-' }}${{ matrix.cfg.goarm || '' }}${{ matrix.cfg.goos == 'windows' && '.exe' }} release-publish: name: Publish Release @@ -118,9 +118,10 @@ jobs: with: name: workspace - name: Download binaries - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: - name: binaries.zip + merge_multiple: true + pattern: scrutiny-*.zip - name: List shell: bash run: |