Skip to content

Commit

Permalink
Merge branch 'feat/storage-layout-check'
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Nov 27, 2024
2 parents 78ba65c + 8e26760 commit 6ca132c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/reusable-foundry-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
type: string
skip-install:
required: false
description: "Skip the installation but set the cache key. Useful to avoid installation and the extremely time consuming caching but still run this job to avoid notifications."
description: "Skip the installation. Useful to avoid installation and the extremely time consuming caching but still run this job to avoid notifications."
type: boolean
default: false
outputs:
Expand All @@ -28,6 +28,9 @@ jobs:
cache-key: ${{ steps.set-cache-key.outputs.cache-key }}
installation-dir: ${{ steps.find-path.outputs.installation-dir }}
steps:
- name: Echo skipping status
if: ${{ inputs.skip-install == true }}
run: echo "Skipping Foundry installation"
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
Expand Down Expand Up @@ -57,3 +60,4 @@ jobs:
id: set-cache-key
run: |
echo "cache-key=foundry-${{ inputs.foundry-version }}" >> "$GITHUB_OUTPUT"
if: ${{ inputs.skip-install == false }}

0 comments on commit 6ca132c

Please sign in to comment.