Skip to content

Commit 15b0e8b

Browse files
marco-ippolitodanielleadams
authored andcommitted
tools: update nghttp2 action
PR-URL: #46700 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
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

Lines changed: 10 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy