File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments