Skip to content

Commit

Permalink
updated test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
smiasojed committed Aug 14, 2023
1 parent a66c550 commit 8b12a76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8b12a76

Please sign in to comment.