Skip to content

Commit bb4a71d

Browse files
authored
fix: specify -X GET in gh api call (#354)
This workflow has been failing since #341, as the `-f per_page=1` is incorrectly interpreted without the `GET` HTTP verb. I have manually triggered a run from this branch to ensure this is working.
1 parent c49f8ce commit bb4a71d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bump_toolchain_nightly-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
env:
3232
GH_TOKEN: ${{ steps.app-token.outputs.token }}
3333
run: |
34-
RELEASE_TAG=$(gh api repos/leanprover/lean4-nightly/releases \
34+
RELEASE_TAG=$(gh api -X GET repos/leanprover/lean4-nightly/releases \
3535
-f per_page=1 --jq '.[0].tag_name')
3636
if [ -z "$RELEASE_TAG" ] || [ "$RELEASE_TAG" = "null" ]; then
3737
echo "::error::Could not determine latest lean4-nightly release"

0 commit comments

Comments
 (0)