Skip to content

Commit 3260b22

Browse files
committed
ci
1 parent dc54a29 commit 3260b22

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test-make-target.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,14 @@ jobs:
6666
- name: MIXED CLUSTERS - SETUP SECONDARY_DIST
6767
if: inputs.mixed_clusters
6868
run: |
69+
archive_name=$(echo rabbitmq-server-generic-unix-*.tar.xz)
70+
archive_version=$(echo $archive_name | sed -E -e 's/^rabbitmq-server-generic-unix-//' -e 's/\.tar\.xz$//')
71+
6972
gpg --import rabbitmq-release-signing-key.asc
70-
gpg --verify rabbitmq-server-generic-unix-*.asc rabbitmq-server-generic-unix-*.tar.xz
71-
tar xf rabbitmq-server-generic-unix-*.tar.xz
73+
gpg --verify $archive_name.asc $archive_name
74+
tar xf $archive_name
7275
73-
echo "SECONDARY_DIST=${GITHUB_WORKSPACE}/rabbitmq_server-`echo -n ${{ steps.fetch_secondary_dist.outputs.version }} | sed s/v//`" >> $GITHUB_ENV
76+
echo "SECONDARY_DIST=${GITHUB_WORKSPACE}/rabbitmq_server-$archive_version" >> $GITHUB_ENV
7477
7578
- name: SETUP DOTNET (rabbit)
7679
uses: actions/setup-dotnet@v4

0 commit comments

Comments
 (0)