@@ -32,39 +32,51 @@ jobs:
3232 # - name: v03.02.03814
3333 # patch-file: ../.github/workflows/3.5_0001-Support-building-plugins-without-an-install.patch
3434 # use-patch: true
35+ # rewrite-snippets: false
3536 # - name: v3.3.3996
3637 # patch-file: ../.github/workflows/3.5_0001-Support-building-plugins-without-an-install.patch
3738 # use-patch: true
39+ # rewrite-snippets: false
3840 # - name: v3.4.4271-stable
3941 # patch-file: ../.github/workflows/3.5_0001-Support-building-plugins-without-an-install.patch
4042 # use-patch: true
43+ # rewrite-snippets: false
4144 # - name: v3.5.4526-stable
4245 # patch-file: ../.github/workflows/3.5_0001-Support-building-plugins-without-an-install.patch
4346 # use-patch: true
47+ # rewrite-snippets: false
4448 # - name: v4.0.4958-stable
4549 # patch-file: ../.github/workflows/4.0_0001-Support-building-plugins-without-an-install.patch
4650 # use-patch: true
51+ # rewrite-snippets: false
4752 # - name: v4.1.5747-stable
4853 # patch-file: ../.github/workflows/4.1_0001-Support-building-plugins-without-an-install.patch
4954 # use-patch: true
55+ # rewrite-snippets: false
5056 # artifact-name: v4.1.5747-stable
5157 # - name: v4.2.6455-stable
5258 # use-patch: false
59+ # rewrite-snippets: false
5360 # artifact-name: v4.2.6455-stable
5461 - name : v5.0.7290-stable
5562 use-patch : false
63+ rewrite-snippets : false
5664 artifact-name : v5.0.7290-stable
5765 - name : stable/5.1.8005
5866 use-patch : false
67+ rewrite-snippets : false
5968 artifact-name : v5.1.8005-stable
6069 - name : stable/5.2.8614
6170 use-patch : false
71+ rewrite-snippets : false
6272 artifact-name : v5.2.8614-stable
6373 - name : stable/5.3.9434
6474 use-patch : false
75+ rewrite-snippets : false
6576 artifact-name : v5.3.9434-stable
6677 - name : dev
6778 use-patch : false
79+ rewrite-snippets : true
6880 artifact-name : dev
6981 steps :
7082 - uses : actions/checkout@v3
7789 cd binaryninjaapi
7890 git fetch --tags
7991 git checkout --force ${{matrix.version.name}}
92+ - name : Rewrite snippets submodule
93+ run : |
94+ git -C binaryninjaapi submodule set-url -- plugins/snippets https://github.com/Vector35/snippets.git
95+ if : ${{ matrix.version.rewrite-snippets }}
96+ - name : Update submodules
97+ run : |
8098 git submodule update --init --recursive
8199 - name : Patch api to allow building headlessly
82100 if : ${{ matrix.version.use-patch }}
0 commit comments