Skip to content

Commit 347c02b

Browse files
ivoanjoeregon
authored andcommitted
Combine clone steps for asan and master
1 parent 2c92b93 commit 347c02b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/build.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,7 @@ jobs:
124124
uses: actions/checkout@v4
125125
with:
126126
repository: ruby/ruby
127-
ref: ${{ needs.prepare.outputs.commit }}
128-
if: matrix.name != '3.4-asan'
129-
- name: Clone ruby (3.4-asan)
130-
uses: actions/checkout@v4
131-
with:
132-
repository: ruby/ruby
133-
ref: ${{ needs.prepare.outputs.commit_3_4_asan }}
134-
if: matrix.name == '3.4-asan'
127+
ref: ${{ matrix.name != '3.4-asan' && needs.prepare.outputs.commit || needs.prepare.outputs.commit_3_4_asan }}
135128
- name: Clone ruby-dev-builder
136129
uses: actions/checkout@v4
137130
with:

0 commit comments

Comments
 (0)