Skip to content

Commit

Permalink
ci: simplify artifact download path and upload in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbinoGeek committed Jun 22, 2024
1 parent 4bee5ca commit 7575154
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,7 @@ jobs:
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: build-ubuntu-latest-amd64
path: build/linux-amd64

- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: build-windows-latest-amd64
path: build/windows-amd64
path: build

- name: Upload Binaries
env:
Expand All @@ -71,6 +64,5 @@ jobs:
echo "Uploading release assets..."
ls -lR build/
gh release create "$tagname" \
--repo="$GITHUB_REPOSITORY" \
--title="${tagname}" \
build/*/*
build/*

0 comments on commit 7575154

Please sign in to comment.