Skip to content

Commit f5b51ab

Browse files
committed
Merge branch '3.1.x' into 3.2.x
2 parents f84a263 + 6b44072 commit f5b51ab

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

Diff for: .github/actions/create-github-release/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ runs:
1515
with:
1616
milestone: ${{ inputs.milestone }}
1717
token: ${{ inputs.token }}
18-
config-file: ${{ github.action_path }}/changelog-generator.yml
18+
config-file: .github/actions/create-github-release/changelog-generator.yml
1919
- name: Create GitHub Release
2020
env:
2121
GITHUB_TOKEN: ${{ inputs.token }}
2222
shell: bash
23-
run: gh release create ${{ github.ref_name }} --notes-file changelog.md
23+
run: gh release create ${{ format('v{0}', inputs.milestone) }} --notes-file changelog.md

Diff for: .github/actions/publish-to-sdkman/action.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ inputs:
44
sdkman-consumer-key:
55
description: 'Key for publishing to SDKMAN!'
66
required: true
7-
sdkman-consumer-secret:
8-
description: 'Secret for publishing to SDKMAN!'
7+
sdkman-consumer-token:
8+
description: 'Token for publishing to SDKMAN!'
99
required: true
1010
spring-boot-version:
1111
description: 'The version to publish'
@@ -20,19 +20,19 @@ runs:
2020
- shell: bash
2121
run: >
2222
curl -X POST \
23-
-H "Consumer-Key: ${{ inputs.sdkman-consumer-key }}"
24-
-H "Consumer-Token: ${{ inputs.sdkman-consumer-token }}"
25-
-H "Content-Type: application/json"
26-
-H "Accept: application/json"
27-
-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)"}'
23+
-H "Consumer-Key: ${{ inputs.sdkman-consumer-key }}" \
24+
-H "Consumer-Token: ${{ inputs.sdkman-consumer-token }}" \
25+
-H "Content-Type: application/json" \
26+
-H "Accept: application/json" \
27+
-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) }}"}' \
2828
https://vendors.sdkman.io/release
2929
- shell: bash
3030
if: ${{ inputs.make-default }}
3131
run: >
3232
curl -X POST \
33-
-H "Consumer-Key: ${{ inputs.sdkman-consumer-key }}"
34-
-H "Consumer-Token: ${{ inputs.sdkman-consumer-token }}"
35-
-H "Content-Type: application/json"
36-
-H "Accept: application/json"
37-
-d '{"candidate": "springboot", "version": "${{ inputs.spring-boot-version }}"}'
33+
-H "Consumer-Key: ${{ inputs.sdkman-consumer-key }}" \
34+
-H "Consumer-Token: ${{ inputs.sdkman-consumer-token }}" \
35+
-H "Content-Type: application/json" \
36+
-H "Accept: application/json" \
37+
-d '{"candidate": "springboot", "version": "${{ inputs.spring-boot-version }}"}' \
3838
https://vendors.sdkman.io/default

0 commit comments

Comments
 (0)