-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
update-version-on-website.yml
GHA to test website update
- Loading branch information
1 parent
1d85d6b
commit c88e28c
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Update Version for project on spring.io | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
newVersion: | ||
description: 'Version to update on website, e.g 3.0.0-M1, 3.1.0-RC1, 3.2.0 etc.' | ||
|
||
jobs: | ||
update-version-on-website: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
show-progress: false | ||
|
||
- name: Checkout Common Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: spring-io/spring-github-workflows | ||
path: spring-github-workflows | ||
show-progress: false | ||
|
||
- name: Build and Publish | ||
uses: ./spring-github-workflows/.github/actions/spring-website-project-version-update | ||
with: | ||
newVersion: ${{ inputs.newVersion }} | ||
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} |