Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a560a78

Browse filesBrowse files
marco-ippolitotargos
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 2ff9b20 commit a560a78
Copy full SHA for a560a78

File tree

Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed
Open diff view settings
Collapse file

‎.github/workflows/tools.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/tools.yml
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,16 @@ jobs:
154154
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
155155
./tools/dep_updaters/update-ada.sh "$NEW_VERSION"
156156
fi
157+
- id: nghttp2
158+
subsystem: deps
159+
label: dependencies
160+
run: |
161+
NEW_VERSION=$(gh api repos/nghttp2/nghttp2/releases/latest -q '.tag_name|ltrimstr("v")')
162+
CURRENT_VERSION=$(grep "#define NGHTTP2_VERSION" ./deps/nghttp2/lib/includes/nghttp2ver.h | sed -n "s/^.*VERSION \(.*\)/\1/p")
163+
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
164+
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
165+
./tools/update-nghttp2.sh "$NEW_VERSION"
166+
fi
157167
steps:
158168
- uses: actions/checkout@v3
159169
with:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.