Skip to content

Commit c88e28c

Browse files
committed
Add update-version-on-website.yml GHA to test website update
1 parent 1d85d6b commit c88e28c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Update Version for project on spring.io
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
newVersion:
7+
description: 'Version to update on website, e.g 3.0.0-M1, 3.1.0-RC1, 3.2.0 etc.'
8+
9+
jobs:
10+
update-version-on-website:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
show-progress: false
16+
17+
- name: Checkout Common Repo
18+
uses: actions/checkout@v4
19+
with:
20+
repository: spring-io/spring-github-workflows
21+
path: spring-github-workflows
22+
show-progress: false
23+
24+
- name: Build and Publish
25+
uses: ./spring-github-workflows/.github/actions/spring-website-project-version-update
26+
with:
27+
newVersion: ${{ inputs.newVersion }}
28+
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

0 commit comments

Comments
 (0)