From 8b12a76f9665c935a0606b9b004b5a6eae9041f0 Mon Sep 17 00:00:00 2001 From: smiasojed Date: Mon, 14 Aug 2023 15:14:18 +0200 Subject: [PATCH] updated test ci --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0b565f32..afb03b58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,11 +16,11 @@ jobs: RESPONSE=$(curl -s "${API_URL}") # Get the download URL of the release binary from Repo - DOWNLOAD_URL=$(echo $RESPONSE | jq -r '.assets | map(select(.name == moonbeam)) | .[0].browser_download_url') + DOWNLOAD_URL=$(echo $RESPONSE | jq -r '.assets | map(select(.name == "moonbeam.gz")) | .[0].browser_download_url') RELEASE_TAG=$(echo $RESPONSE | jq -r '.tag_name') mkdir -p bin - curl -L -o bin/moonbeam ${DOWNLOAD_URL} && chmod +x bin/moonbeam + curl -L ${DOWNLOAD_URL} | tar -xzv -C bin && chmod +x bin/moonbeam echo "::set-output name=tag::$(echo ${RELEASE_TAG})" - name: Download Polkadot-Parachain Release id: polkadot_parachain_release @@ -29,7 +29,7 @@ jobs: RESPONSE=$(curl -s "${API_URL}") # Get the download URL of the release binary from Repo - DOWNLOAD_URL=$(echo $RESPONSE | jq -r '.assets | map(select(.name == polkadot-parachain)) | .[0].browser_download_url') + DOWNLOAD_URL=$(echo $RESPONSE | jq -r '.assets | map(select(.name == "polkadot-parachain")) | .[0].browser_download_url') RELEASE_TAG=$(echo $RESPONSE | jq -r '.tag_name') mkdir -p bin