Fix SDKman "make default" step

The supported HTTP verb is PUT, not POST, see https://sdkman.io/vendors
This commit is contained in:
Moritz Halbritter
2024-05-23 13:53:38 +02:00
parent a5ee37c526
commit c857eb62d4

View File

@@ -29,7 +29,7 @@ runs:
- shell: bash
if: ${{ inputs.make-default == 'true' }}
run: >
curl -X POST \
curl -X PUT \
-H "Consumer-Key: ${{ inputs.sdkman-consumer-key }}" \
-H "Consumer-Token: ${{ inputs.sdkman-consumer-token }}" \
-H "Content-Type: application/json" \