Update Version for project on spring.io #4
This file contains hidden or 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
| 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 }} |