Skip to content

Commit

Permalink
Fix release artifact
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <[email protected]>
  • Loading branch information
ndeloof committed Mar 15, 2024
1 parent ce9b87b commit 6f3ef94
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ jobs:
name: Build
run: |
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build
ls -al bin/
-
name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: compose-spec
name: compose-spec-${{ matrix.os }}-${{ matrix.arch }}
path: ./bin/*
if-no-files-found: error

Expand All @@ -43,18 +44,18 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
-
name: Download artifacts
uses: actions/download-artifact@v4
with:
name: compose-spec
path: bin/release
path: bin/
merge-multiple: true
-
name: GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: bin/release/*
artifacts: bin/*
generateReleaseNotes: true
draft: true
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6f3ef94

Please sign in to comment.