Skip to content

Commit 122e652

Browse files
committed
tools: add lief to automated dependency updates
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk>
1 parent 03fcd8b commit 122e652

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

‎.github/workflows/tools.yml‎

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ on:
2828
- inspector_protocol
2929
- libffi
3030
- libuv
31+
- lief
3132
- llhttp
3233
- nbytes
3334
- nixpkgs-unstable
@@ -149,6 +150,7 @@ jobs:
149150
- id: icu
150151
subsystem: deps
151152
label: dependencies, test, icu
153+
requires-python: true
152154
run: |
153155
./tools/dep_updaters/update-icu.sh > temp-output
154156
cat temp-output
@@ -157,6 +159,7 @@ jobs:
157159
- id: inspector_protocol
158160
subsystem: deps
159161
label: dependencies, inspector
162+
requires-python: true
160163
run: |
161164
./tools/dep_updaters/update-inspector-protocol.sh > temp-output
162165
cat temp-output
@@ -178,6 +181,15 @@ jobs:
178181
cat temp-output
179182
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
180183
rm temp-output
184+
- id: lief
185+
subsystem: deps
186+
label: dependencies, dont-land-on-v22.x
187+
requires-python: true
188+
run: |
189+
./tools/dep_updaters/update-lief.sh > temp-output
190+
cat temp-output
191+
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
192+
rm temp-output
181193
- id: llhttp
182194
subsystem: deps
183195
label: dependencies
@@ -312,9 +324,7 @@ jobs:
312324
with:
313325
persist-credentials: false
314326
- name: Set up Python ${{ env.PYTHON_VERSION }}
315-
if: |
316-
(matrix.id == 'icu' || matrix.id == 'inspector_protocol') &&
317-
(github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id)
327+
if: matrix.requires-python && (github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id)
318328
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
319329
with:
320330
python-version: ${{ env.PYTHON_VERSION }}

0 commit comments

Comments
 (0)