Skip to content

Commit

Permalink
add forge install
Browse files Browse the repository at this point in the history
  • Loading branch information
oldGreg5 committed Oct 17, 2024
1 parent 140be22 commit 7cce296
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/generate-allure-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ on:
branches: "main"
tags: ["*"]
workflow_call:
inputs:
forge_version:
description: |
The version of the forge CLI to install (use 'local' for testing)
type: string
required: false
default: latest

permissions:
contents: write
Expand Down Expand Up @@ -33,6 +40,18 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Forge
uses: input-output-hk/catalyst-forge/actions/install@ci/v1.1.0
if: ${{ inputs.forge_version != 'local' }}
with:
version: ${{ inputs.forge_version }}

- name: Install Local Forge
uses: input-output-hk/catalyst-forge/actions/install-local@ci/v1.1.0
if: ${{ inputs.forge_version == 'local' }}
with:
earthly_token: ${{ secrets.earthly_token }}

- name: Setup CI
uses: input-output-hk/catalyst-forge/actions/setup@master

Expand Down

0 comments on commit 7cce296

Please sign in to comment.