We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-X GET
gh api
1 parent 4ee7699 commit 77d1057Copy full SHA for 77d1057
.github/workflows/nightly_bump_toolchain.yml
@@ -32,7 +32,7 @@ jobs:
32
env:
33
GH_TOKEN: ${{ steps.app-token.outputs.token }}
34
run: |
35
- RELEASE_TAG=$(gh api repos/leanprover/lean4-nightly/releases \
+ RELEASE_TAG=$(gh api -X GET repos/leanprover/lean4-nightly/releases \
36
-f per_page=1 --jq '.[0].tag_name')
37
if [ -z "$RELEASE_TAG" ] || [ "$RELEASE_TAG" = "null" ]; then
38
echo "::error::Could not determine latest lean4-nightly release"
0 commit comments