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.
This commit is contained in:
@@ -103,10 +103,10 @@ jobs:
|
|||||||
- name: Archive
|
- name: Archive
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries.zip
|
name: scrutiny-${{ matrix.cfg.goos }}-${{ matrix.cfg.goarch }}${{ matrix.cfg.goarm && '-' }}${{ matrix.cfg.goarm || '' }}.zip
|
||||||
path: |
|
path: |
|
||||||
scrutiny-web-*
|
scrutiny-web-${{ matrix.cfg.goos }}-${{ matrix.cfg.goarch }}${{ matrix.cfg.goarm && '-' }}${{ matrix.cfg.goarm || '' }}${{ matrix.cfg.goos == 'windows' && '.exe' }}
|
||||||
scrutiny-collector-metrics-*
|
scrutiny-collector-metrics-${{ matrix.cfg.goos }}-${{ matrix.cfg.goarch }}${{ matrix.cfg.goarm && '-' }}${{ matrix.cfg.goarm || '' }}${{ matrix.cfg.goos == 'windows' && '.exe' }}
|
||||||
|
|
||||||
release-publish:
|
release-publish:
|
||||||
name: Publish Release
|
name: Publish Release
|
||||||
@@ -118,9 +118,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: workspace
|
name: workspace
|
||||||
- name: Download binaries
|
- name: Download binaries
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: binaries.zip
|
merge_multiple: true
|
||||||
|
pattern: scrutiny-*.zip
|
||||||
- name: List
|
- name: List
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user