diff --git a/.github/actions/publish-to-sdkman/action.yml b/.github/actions/publish-to-sdkman/action.yml index 2d23b18232b..7458c863ac5 100644 --- a/.github/actions/publish-to-sdkman/action.yml +++ b/.github/actions/publish-to-sdkman/action.yml @@ -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" \