Skip to content

Commit dac5928

Browse files
authored
Update build.yaml
1 parent a882f9c commit dac5928

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
}
3030
version:
3131
- name: v5.0.7290-stable
32-
use-patch: false
32+
filename: v5.0.7290-stable
3333
- name: v5.0.7648-stable
34-
use-patch: false
34+
filename: v5.0.7648-stable
3535
- name: stable/5.1.8005
36-
use-patch: false
36+
filename: v5.1.8005-stable
3737
- name: dev
38-
use-patch: false
38+
filename: dev
3939
steps:
4040
- uses: actions/checkout@v3
4141
with:
@@ -48,18 +48,12 @@ jobs:
4848
git fetch --tags
4949
git checkout --force ${{matrix.version.name}}
5050
git submodule update --init --recursive
51-
- name: Patch api to allow building headlessly
52-
if: ${{ matrix.version.use-patch }}
53-
shell: bash
54-
run: |
55-
cd binaryninjaapi
56-
git apply --verbose ${{matrix.version.patch-file}}
5751
- name: Configure CMake
5852
run: cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
5953
- name: Build
6054
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
6155
- name: Upload artifact
6256
uses: actions/upload-artifact@v4
6357
with:
64-
name: ${{matrix.config.name}}-${{matrix.version.name}}
58+
name: ${{matrix.config.name}}-${{matrix.version.filename}}
6559
path: ${{github.workspace}}/build/*NativePredicateSolver*

0 commit comments

Comments
 (0)