We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d3d4c9 commit 65edf37Copy full SHA for 65edf37
.github/workflows/upstream-sysroot.yml
@@ -42,7 +42,7 @@ jobs:
42
if [ -n "${{ github.event.inputs.upstream-sha }}" ]; then
43
UPSTREAM_SHA="${{ github.event.inputs.upstream-sha }}"
44
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')
+ UPSTREAM_SHA=$(gh api -X GET repos/chromium/chromium/commits -f path="build/linux/sysroot_scripts" -f per_page=1 --jq '.[0].sha')
46
fi
47
echo "UPSTREAM_SHA=${UPSTREAM_SHA}" >> $GITHUB_ENV
48
- name: Compare current SHA with upstream SHA
0 commit comments