Skip to content

Commit c857eb6

Browse files
committed
Fix SDKman "make default" step
The supported HTTP verb is PUT, not POST, see https://sdkman.io/vendors
1 parent a5ee37c commit c857eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/publish-to-sdkman/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
- shell: bash
3030
if: ${{ inputs.make-default == 'true' }}
3131
run: >
32-
curl -X POST \
32+
curl -X PUT \
3333
-H "Consumer-Key: ${{ inputs.sdkman-consumer-key }}" \
3434
-H "Consumer-Token: ${{ inputs.sdkman-consumer-token }}" \
3535
-H "Content-Type: application/json" \

0 commit comments

Comments
 (0)