From c857eb62d483865bc260ea1becab4bb456468772 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 23 May 2024 13:53:38 +0200 Subject: [PATCH] Fix SDKman "make default" step The supported HTTP verb is PUT, not POST, see https://sdkman.io/vendors --- .github/actions/publish-to-sdkman/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" \