Skip to content

Commit a346240

Browse files
committed
Publicize 4.1.1
1 parent e3d4b1c commit a346240

11 files changed

Lines changed: 95 additions & 717 deletions

‎.github/workflows/build-and-deploy-snapshot.yml‎

Lines changed: 0 additions & 76 deletions
This file was deleted.

‎.github/workflows/build-pull-request.yml‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 67 deletions
This file was deleted.

‎.github/workflows/distribute.yml‎

Lines changed: 0 additions & 45 deletions
This file was deleted.
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
name: Publicize Release
2+
on:
3+
push:
4+
branch: 'temp/publicize-release'
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
jobs:
8+
read-version:
9+
name: Read Version
10+
runs-on: 'ubuntu-latest'
11+
steps:
12+
- name: Read Version From gradle.properties
13+
id: read-version
14+
shell: bash
15+
run: |
16+
version=$(sed -n 's/version=\(.*\)/\1/p' gradle.properties)
17+
echo "Version is $version"
18+
echo "version=$version" >> $GITHUB_OUTPUT
19+
outputs:
20+
version: ${{ steps.read-version.outputs.version }}
21+
publish-gradle-plugin:
22+
name: Publish Gradle Plugin
23+
if: ${{ !vars.COMMERCIAL }}
24+
needs:
25+
- read-version
26+
runs-on: 'ubuntu-latest'
27+
steps:
28+
- name: Check Out Code
29+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
30+
- name: Publish
31+
uses: ./.github/actions/publish-gradle-plugin
32+
with:
33+
gradle-plugin-publish-key: ${{ secrets.GRADLE_PLUGIN_PUBLISH_KEY }}
34+
gradle-plugin-publish-secret: ${{ secrets.GRADLE_PLUGIN_PUBLISH_SECRET }}
35+
jfrog-cli-config-token: ${{ secrets.JF_ARTIFACTORY_SPRING }}
36+
plugin-version: ${{ needs.read-version.outputs.version }}
37+
publish-to-sdkman:
38+
name: Publish to SDKMAN!
39+
needs:
40+
- read-version
41+
runs-on: 'ubuntu-latest'
42+
steps:
43+
- name: Check Out Code
44+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
45+
- name: Publish to SDKMAN!
46+
uses: ./.github/actions/publish-to-sdkman
47+
with:
48+
make-default: false
49+
sdkman-consumer-key: ${{ secrets.SDKMAN_CONSUMER_KEY }}
50+
sdkman-consumer-token: ${{ secrets.SDKMAN_CONSUMER_TOKEN }}
51+
spring-boot-version: ${{ needs.read-version.outputs.version }}
52+
update-homebrew-tap:
53+
name: Update Homebrew Tap
54+
needs:
55+
- read-version
56+
runs-on: 'ubuntu-latest'
57+
steps:
58+
- name: Check Out Code
59+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
60+
- name: Update Homebrew Tap
61+
uses: ./.github/actions/update-homebrew-tap
62+
with:
63+
spring-boot-version: ${{ needs.read-version.outputs.version }}
64+
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
65+
trigger-docs-build:
66+
name: Trigger Docs Build
67+
needs:
68+
- read-version
69+
permissions:
70+
actions: write
71+
runs-on: 'ubuntu-latest'
72+
steps:
73+
- name: Run Deploy Docs Workflow
74+
env:
75+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76+
run: gh workflow run deploy-docs.yml --repo ${{ github.repository }} -r docs-build -f build-refname=v4.1.1 -f build-version=${{ needs.read-version.outputs.version }}
77+
create-github-release:
78+
name: Create GitHub Release
79+
needs:
80+
- read-version
81+
- publish-gradle-plugin
82+
- publish-to-sdkman
83+
- trigger-docs-build
84+
- update-homebrew-tap
85+
runs-on: 'ubuntu-latest'
86+
steps:
87+
- name: Check Out Code
88+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
89+
- name: Create GitHub Release
90+
uses: ./.github/actions/create-github-release
91+
with:
92+
commercial: ${{ vars.COMMERCIAL }}
93+
latest: true
94+
milestone: ${{ needs.read-version.outputs.version }}
95+
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

0 commit comments

Comments
 (0)