Merge branch '3.1.x' into 3.2.x

This commit is contained in:
Moritz Halbritter 2024-04-18 17:47:08 +02:00
commit f5b51ab74a
2 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -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