diff --git a/.github/actions/create-github-release/action.yml b/.github/actions/create-github-release/action.yml index 49b460c097a7..d30dacef4c83 100644 --- a/.github/actions/create-github-release/action.yml +++ b/.github/actions/create-github-release/action.yml @@ -15,9 +15,9 @@ runs: with: milestone: ${{ inputs.milestone }} token: ${{ inputs.token }} - config-file: ${{ github.action_path }}/changelog-generator.yml + config-file: .github/actions/create-github-release/changelog-generator.yml - name: Create GitHub Release env: GITHUB_TOKEN: ${{ inputs.token }} shell: bash - run: gh release create ${{ github.ref_name }} --notes-file changelog.md + run: gh release create ${{ format('v{0}', inputs.milestone) }} --notes-file changelog.md diff --git a/.github/actions/publish-to-sdkman/action.yml b/.github/actions/publish-to-sdkman/action.yml index 189fcdb5725d..d0337b74059e 100644 --- a/.github/actions/publish-to-sdkman/action.yml +++ b/.github/actions/publish-to-sdkman/action.yml @@ -4,8 +4,8 @@ inputs: sdkman-consumer-key: description: 'Key for publishing to SDKMAN!' required: true - sdkman-consumer-secret: - description: 'Secret for publishing to SDKMAN!' + sdkman-consumer-token: + description: 'Token for publishing to SDKMAN!' required: true spring-boot-version: description: 'The version to publish' @@ -20,19 +20,19 @@ runs: - shell: bash run: > curl -X POST \ - -H "Consumer-Key: ${{ inputs.sdkman-consumer-key }}" - -H "Consumer-Token: ${{ inputs.sdkman-consumer-token }}" - -H "Content-Type: application/json" - -H "Accept: application/json" - -d '{"candidate": "springboot", "version": "${{ inputs.spring-boot-version }}", "url": "${{ format('https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-cli/{0}/spring-boot-cli-{0}-bin.zip', inputs.spring-boot-version)"}' + -H "Consumer-Key: ${{ inputs.sdkman-consumer-key }}" \ + -H "Consumer-Token: ${{ inputs.sdkman-consumer-token }}" \ + -H "Content-Type: application/json" \ + -H "Accept: application/json" \ + -d '{"candidate": "springboot", "version": "${{ inputs.spring-boot-version }}", "url": "${{ format('https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-cli/{0}/spring-boot-cli-{0}-bin.zip', inputs.spring-boot-version) }}"}' \ https://vendors.sdkman.io/release - shell: bash if: ${{ inputs.make-default }} run: > curl -X POST \ - -H "Consumer-Key: ${{ inputs.sdkman-consumer-key }}" - -H "Consumer-Token: ${{ inputs.sdkman-consumer-token }}" - -H "Content-Type: application/json" - -H "Accept: application/json" - -d '{"candidate": "springboot", "version": "${{ inputs.spring-boot-version }}"}' + -H "Consumer-Key: ${{ inputs.sdkman-consumer-key }}" \ + -H "Consumer-Token: ${{ inputs.sdkman-consumer-token }}" \ + -H "Content-Type: application/json" \ + -H "Accept: application/json" \ + -d '{"candidate": "springboot", "version": "${{ inputs.spring-boot-version }}"}' \ https://vendors.sdkman.io/default