Skip to content

Commit

Permalink
fix: check console output for libuv and simtduf scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-go committed Feb 23, 2023
1 parent 550666b commit 69370b0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,23 @@ jobs:
label: dependencies
run: |
NEW_VERSION=$(gh api repos/libuv/libuv/releases/latest -q '.tag_name|ltrimstr("v")')
./tools/dep_updaters/update-libuv.sh "$NEW_VERSION"
if [ $? = 0 ]; then
./tools/dep_updaters/update-libuv.sh "$NEW_VERSION" > temp-output
cat temp-output
if cat temp-output | grep "All done!"; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
fi
rm temp-output
- id: simdutf
subsystem: deps
label: dependencies
run: |
NEW_VERSION=$(gh api repos/simdutf/simdutf/releases/latest -q '.tag_name|ltrimstr("v")')
./tools/dep_updaters/update-simdutf.sh "$NEW_VERSION"
if [ $? = 0 ]; then
./tools/dep_updaters/update-simdutf.sh "$NEW_VERSION" > temp-output
cat temp-output
if cat temp-output | grep "All done!"; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
fi
rm temp-output
- id: ada
subsystem: deps
label: dependencies
Expand Down

0 comments on commit 69370b0

Please sign in to comment.