Skip to content

Commit 8beeeee

Browse files
committed
use ref
1 parent 96f2699 commit 8beeeee

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/benchmark-summary.yml

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Benchmark
22
on:
33
workflow_call:
4+
inputs:
5+
git_ref:
6+
type: string
47

58
permissions:
69
# deployments permission to deploy GitHub pages website
@@ -20,6 +23,8 @@ jobs:
2023
steps:
2124
- name: Git checkout
2225
uses: actions/checkout@v4
26+
with:
27+
ref: ${{ inputs.git_ref }}
2328

2429
- name: Load environment variables
2530
run: cat .github/.env >> $GITHUB_ENV
@@ -30,6 +35,7 @@ jobs:
3035
node: 18.x
3136
solana: ${{ env.SOLANA_VERSION }}
3237
cache: ${{ env.CACHE }}
38+
artifacts: program-builds-${{ inputs.git_ref }}
3339

3440
- name: Install dependencies
3541
uses: metaplex-foundation/actions/install-node-dependencies@v1

.github/workflows/benchmark.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Benchmark
22
on:
33
workflow_call:
4+
inputs:
5+
git_ref:
6+
type: string
47

58
permissions:
69
# deployments permission to deploy GitHub pages website
@@ -28,6 +31,7 @@ jobs:
2831
node: 18.x
2932
solana: ${{ env.SOLANA_VERSION }}
3033
cache: ${{ env.CACHE }}
34+
artifacts: program-builds-${{ inputs.git_ref }}
3135

3236
- name: Install dependencies
3337
uses: metaplex-foundation/actions/install-node-dependencies@v1

0 commit comments

Comments
 (0)