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 68bca84
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,18 @@ 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
if-no-files-found: ignore

- 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
if-no-files-found: error

create-draft-release:
runs-on: ubuntu-20.04-4-cores
Expand All @@ -172,7 +174,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 +195,9 @@ jobs:
- name: Download binaries
uses: actions/download-artifact@v4
with:
name: binaries
pattern: binaries-*
path: artifacts/linux
merge-multiple: true

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

0 comments on commit 68bca84

Please sign in to comment.