Skip to content

Commit 65edf37

Browse files
Update .github/workflows/upstream-sysroot.yml
Co-authored-by: David Sanders <[email protected]>
1 parent 3d3d4c9 commit 65edf37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/upstream-sysroot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
if [ -n "${{ github.event.inputs.upstream-sha }}" ]; then
4343
UPSTREAM_SHA="${{ github.event.inputs.upstream-sha }}"
4444
else
45-
UPSTREAM_SHA=$(curl -s "https://api.github.com/repos/chromium/chromium/commits?path=build/linux/sysroot_scripts&per_page=1" | jq -r '.[0].sha')
45+
UPSTREAM_SHA=$(gh api -X GET repos/chromium/chromium/commits -f path="build/linux/sysroot_scripts" -f per_page=1 --jq '.[0].sha')
4646
fi
4747
echo "UPSTREAM_SHA=${UPSTREAM_SHA}" >> $GITHUB_ENV
4848
- name: Compare current SHA with upstream SHA

0 commit comments

Comments
 (0)