Skip to content

Commit

Permalink
chore: use the merge-multiple directive when downloading binaries
Browse files Browse the repository at this point in the history
From the docs: When multiple artifacts are matched, this changes the behavior
of the destination directories. If true, the downloaded artifacts will be in
the same directory specified by path. If false, the downloaded artifacts will
be extracted into individual named directories within the specified path.

So essentially, the artifacts were being downloaded into different dirs
and hence the release failure.

Signed-off-by: crozzy <joseph.crosland@gmail.com>
  • Loading branch information
crozzy committed May 1, 2024
1 parent ac25511 commit b9bf29f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ jobs:
id: download
with:
pattern: clairctl-*
merge-multiple: true
- name: Publish clairctl-${{matrix.goos}}-${{matrix.goarch}}
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit b9bf29f

Please sign in to comment.