Skip to content

Commit

Permalink
Merge pull request #36 from ProjectOpenSea/ryan/add-gh-workflow-run-c…
Browse files Browse the repository at this point in the history
…ustom-command

add gh workflow to run custom command
  • Loading branch information
0age authored Feb 28, 2024
2 parents a354bde + e808424 commit f3b7b89
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/run-custom-command.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run Custom Command

on:
workflow_dispatch:
inputs:
cmd:
description: cli cmd to run
required: true

jobs:
run-custom-command:
name: Run Custom Command
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install forge dependencies
run: forge install

- name: Run custom command
run: ${{ github.event.inputs.cmd }}

0 comments on commit f3b7b89

Please sign in to comment.