Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Jan 8, 2025
1 parent 562a1ba commit 0dd5c48
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/ensure-cast/action.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
name: Ensure Cast is available
description: "Install cast on runner"

inputs:
arch_tag:
required: false
default: amd64

runs:
using: composite
steps:
- name: Ensure Cast
id: ensure_cast
shell: bash
run: |
docker pull aztecprotocol/foundry
container_id=$(docker create aztecprotocol/foundry
docker pull aztecprotocol/foundry:25f24e677a6a32a62512ad4f561995589ac2c7dc-${{ inputs.arch_tag }}
container_id=$(docker create aztecprotocol/foundry:25f24e677a6a32a62512ad4f561995589ac2c7dc-${{ inputs.arch_tag }})
docker cp $container_id:/opt/foundry/bin/cast ./cast
docker rm $container_id
chmod +x ./cast
Expand Down

0 comments on commit 0dd5c48

Please sign in to comment.