Skip to content

Commit

Permalink
Fix SDKman "make default" step
Browse files Browse the repository at this point in the history
The supported HTTP verb is PUT, not POST, see https://sdkman.io/vendors
  • Loading branch information
mhalbritter committed May 23, 2024
1 parent a5ee37c commit c857eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/publish-to-sdkman/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit c857eb6

Please sign in to comment.