Skip to content

Commit 6f3ef94

Browse files
committed
Fix release artifact
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent ce9b87b commit 6f3ef94

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ jobs:
2626
name: Build
2727
run: |
2828
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build
29+
ls -al bin/
2930
-
3031
name: Upload artifacts
3132
uses: actions/upload-artifact@v4
3233
with:
33-
name: compose-spec
34+
name: compose-spec-${{ matrix.os }}-${{ matrix.arch }}
3435
path: ./bin/*
3536
if-no-files-found: error
3637

@@ -43,18 +44,18 @@ jobs:
4344
steps:
4445
-
4546
name: Checkout
46-
uses: actions/checkout@v4
47+
uses: actions/checkout@v3
4748
-
4849
name: Download artifacts
4950
uses: actions/download-artifact@v4
5051
with:
51-
name: compose-spec
52-
path: bin/release
52+
path: bin/
53+
merge-multiple: true
5354
-
5455
name: GitHub Release
5556
uses: ncipollo/release-action@v1
5657
with:
57-
artifacts: bin/release/*
58+
artifacts: bin/*
5859
generateReleaseNotes: true
5960
draft: true
6061
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)