Skip to content

Commit 15b0e8b

Browse files
marco-ippolitodanielleadams
authored andcommitted
tools: update nghttp2 action
PR-URL: #46700 Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tierney Cyren <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 4da3eec commit 15b0e8b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/tools.yml

+10
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,16 @@ jobs:
144144
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
145145
./tools/dep_updaters/update-simdutf.sh "$NEW_VERSION"
146146
fi
147+
- id: nghttp2
148+
subsystem: deps
149+
label: dependencies
150+
run: |
151+
NEW_VERSION=$(gh api repos/nghttp2/nghttp2/releases/latest -q '.tag_name|ltrimstr("v")')
152+
CURRENT_VERSION=$(grep "#define NGHTTP2_VERSION" ./deps/nghttp2/lib/includes/nghttp2ver.h | sed -n "s/^.*VERSION \(.*\)/\1/p")
153+
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
154+
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
155+
./tools/update-nghttp2.sh "$NEW_VERSION"
156+
fi
147157
steps:
148158
- uses: actions/checkout@v3
149159
with:

0 commit comments

Comments
 (0)