Skip to content

Commit 4792c07

Browse files
committed
Can i just do this
1 parent 5eb8d08 commit 4792c07

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/build.yaml

+3-7
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,9 @@ jobs:
5151
shell: bash
5252
run: |
5353
cd binaryninjaapi
54-
if (git branch --contains 9524254213477521804542721606710671523772 | grep "" > /dev/null 2>&1); then
55-
git apply --verbose ../.github/workflows/4.1_0001-Support-building-plugins-without-an-install.patch
56-
elif (git branch --contains v4.0.4958-stable | grep "" > /dev/null 2>&1); then
57-
git apply --verbose ../.github/workflows/4.0_0001-Support-building-plugins-without-an-install.patch
58-
else
59-
git apply --verbose ../.github/workflows/3.5_0001-Support-building-plugins-without-an-install.patch
60-
fi
54+
git apply --verbose ../.github/workflows/4.1_0001-Support-building-plugins-without-an-install.patch \
55+
|| git apply --verbose ../.github/workflows/4.0_0001-Support-building-plugins-without-an-install.patch \
56+
|| git apply --verbose ../.github/workflows/3.5_0001-Support-building-plugins-without-an-install.patch
6157
- name: Configure CMake
6258
run: cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
6359
- name: Build

0 commit comments

Comments
 (0)