Skip to content

Commit

Permalink
Merge branch 'brent/fix-hermes-ci'
Browse files Browse the repository at this point in the history
* brent/fix-hermes-ci:
  fix CI
  • Loading branch information
brentstone committed Mar 8, 2024
2 parents f688f27 + 1d42789 commit 33ff2a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,9 @@ jobs:
mv cometbft /usr/local/bin
- name: Download Hermes
run: |
BRANCH_NAME=$(git symbolic-ref --short HEAD)
echo "Using hermes for branch: ${BRANCH_NAME}"
HERMES_VERSION=$(cat .github/workflows/scripts/hermes.json | jq .${BRANCH_ENV:-invalid} -r -e)
HERMES_VERSION=$(cat .github/workflows/scripts/hermes.json | jq .${BRANCH_NAME:-invalid} -r -e)
HERMES_VERSION_DEFAULT=$(cat .github/workflows/scripts/hermes.json | jq .default -r)
if [ -z "$HERMES_VERSION" ]
then
Expand All @@ -659,8 +660,6 @@ jobs:
curl -o hermes.zip -LO https://github.com/heliaxdev/hermes/releases/download/v${HERMES_VERSION}/hermes-v${HERMES_VERSION}-x86_64-unknown-linux-gnu.zip
unzip hermes.zip
mv hermes /usr/local/bin
env:
BRANCH_NAME: ${GITHUB_REF##*/}
- name: Change permissions
run: |
chmod +x target/release/namada
Expand Down

0 comments on commit 33ff2a6

Please sign in to comment.