The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hyperlane-monorepo/.github/actions/checkout-registry/action.yml

28 lines
957 B

name: 'Checkout Registry'
description: 'Checkout the hyperlane-registry repository and move it to the parent directory'
inputs:
registry_version:
description: 'Override the version of the hyperlane-registry to checkout'
runs:
using: 'composite'
steps:
- name: Read .registryrc if registry_version not provided
shell: bash
run: |
if [ -z "${{ inputs.registry_version }}" ]; then
REGISTRY_VERSION=$(cat .registryrc)
echo "REGISTRY_VERSION=$REGISTRY_VERSION" >> $GITHUB_ENV
else
echo "REGISTRY_VERSION=${{ inputs.registry_version }}" >> $GITHUB_ENV
fi
- name: Checkout hyperlane-registry
uses: actions/checkout@v4
with:
repository: hyperlane-xyz/hyperlane-registry
ref: ${{ env.REGISTRY_VERSION }}
path: ./hyperlane-registry
- name: Move hyperlane-registry to parent directory
shell: bash
run: mv ./hyperlane-registry ../