mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-04 06:13:09 +00:00
ci: add a way to pass contracts repository ref (#260)
This commit is contained in:
parent
e22799e1f8
commit
a86575b262
7
.github/workflows/devnet-contracts.yml
vendored
7
.github/workflows/devnet-contracts.yml
vendored
@ -21,6 +21,11 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
default: https://public.sepolia.rpc.status.network
|
default: https://public.sepolia.rpc.status.network
|
||||||
type: string
|
type: string
|
||||||
|
contracts_ref:
|
||||||
|
description: "Contracts ref: blank = current branch"
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -35,7 +40,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ inputs.contracts_ref }}
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user