update-spring-boot-version.yml 638 B

12345678910111213141516171819
  1. name: Update Spring Boot Version
  2. on:
  3. workflow_dispatch:
  4. schedule:
  5. - cron: '0 12 * * *' # Once per day at 12am UTC
  6. jobs:
  7. update-spring-boot-version:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v3
  11. - name: Update Spring Boot Version
  12. run: ./update-spring-boot-version.sh
  13. - name: Extract Version
  14. run: echo "MINOR_VERSION=$(cat versions.properties | grep springBootVersion | cut -d'=' -f2)" >> $GITHUB_ENV
  15. - uses: stefanzweifel/git-auto-commit-action@v4
  16. with:
  17. commit_message: "Update Spring Boot Version to ${{ env.MINOR_VERSION }}"