Skip to content

Commit

Permalink
ci(release): parameterize artifact names with job target
Browse files Browse the repository at this point in the history
Updated artifact and binary names in the release workflow to include
matrix job targets for improved identification and clarity in
multi-target builds.
  • Loading branch information
steebchen committed Feb 11, 2025
1 parent 0459f89 commit dd76980
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,14 @@ jobs:
- name: Upload docker binaries
uses: actions/upload-artifact@v4
with:
name: binaries
name: binaries-${{ matrix.job.target }}
path: ${{ env.PLATFORM_NAME }}
retention-days: 1

- name: Upload release artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts
name: artifacts-${{ matrix.job.target }}
path: ${{ steps.artifacts.outputs.file_name }}
retention-days: 1

Expand All @@ -172,7 +172,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v4
with:
name: artifacts
pattern: artifacts-*
path: artifacts
- id: version_info
run: |
Expand All @@ -193,8 +193,9 @@ jobs:
- name: Download binaries
uses: actions/download-artifact@v4
with:
name: binaries
name: binaries-${{ matrix.job.target }}
path: artifacts/linux
merge-multiple: true

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand Down

0 comments on commit dd76980

Please sign in to comment.