summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYagiz Nizipli <yagiz@nizipli.com>2023-01-27 15:49:13 -0500
committerNode.js GitHub Bot <github-bot@iojs.org>2023-02-06 19:21:38 +0000
commitdf05cf7c369d38893df3ae5f593c1b6c650054ab (patch)
tree8c3b8ec60b0d520bba97d9254987f0f59b6069b8 /.github
parent4c08c20e575a0954fe3977a20e9f52b4980a2e48 (diff)
downloadnode-new-df05cf7c369d38893df3ae5f593c1b6c650054ab.tar.gz
deps: add ada as a dependency
PR-URL: https://github.com/nodejs/node/pull/46410 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tools.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml
index ab7902eec9..5ab7e31362 100644
--- a/.github/workflows/tools.yml
+++ b/.github/workflows/tools.yml
@@ -144,6 +144,16 @@ jobs:
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
./tools/dep_updaters/update-simdutf.sh "$NEW_VERSION"
fi
+ - id: ada
+ subsystem: deps
+ label: dependencies
+ run: |
+ NEW_VERSION=$(gh api repos/ada-url/ada/releases/latest -q '.tag_name|ltrimstr("v")')
+ CURRENT_VERSION=$(grep "#define ADA_VERSION" ./deps/ada/ada.h | sed -n "s/^.*VERSION \(.*\)/\1/p")
+ if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
+ echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
+ ./tools/dep_updaters/update-ada.sh "$NEW_VERSION"
+ fi
steps:
- uses: actions/checkout@v3
with: