Skip to content

Commit 0bdb9a5

Browse files
committed
Set the SHARE env variable only if current branch is main
1 parent 06c9a00 commit 0bdb9a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
rake:
1111
runs-on: ubuntu-latest
1212
env:
13-
SHARE: "1"
13+
SHARE: ${{ github.ref_name == 'main' && '1' || '' }}
1414

1515
strategy:
1616
matrix:

0 commit comments

Comments
 (0)