Skip to content

Commit

Permalink
GH release action: Fix "packages" name conflict
Browse files Browse the repository at this point in the history
During the release process we group together the created packages as
an artifact, to then upload them individually to the GitHub release entry.

Previously this was able to use a single "packages" zip file for both
x86_64 and arm64 packages, but we now need to split this since we split
the actions.
  • Loading branch information
lfittl committed Feb 20, 2025
1 parent 9915bb1 commit 65a317c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
- name: Upload packages as artifacts
uses: actions/upload-artifact@v4
with:
name: packages
name: packages_x86_64
path: |
packages/tmp/pganalyze-collector-*.x86_64.rpm
packages/tmp/pganalyze-collector_*_amd64.deb
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
- name: Upload packages as artifacts
uses: actions/upload-artifact@v4
with:
name: packages
name: packages_arm64
path: |
packages/tmp/pganalyze-collector-*.aarch64.rpm
packages/tmp/pganalyze-collector_*_arm64.deb
Expand Down Expand Up @@ -186,10 +186,15 @@ jobs:
with:
name: pganalyze-collector-linux-arm64

- name: Download build packages
- name: Download build packages (x86_64)
uses: actions/download-artifact@v4
with:
name: packages
name: packages_x86_64

- name: Download build packages (arm64)
uses: actions/download-artifact@v4
with:
name: packages_arm64

- name: Download helm package
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 65a317c

Please sign in to comment.