Remove update-spring-boot-version workflow

Issue gh-138
This commit is contained in:
Marcus Hert Da Coregio
2023-11-27 11:47:22 -03:00
parent 8cfb64e0b9
commit 3580821a21
2 changed files with 0 additions and 33 deletions

View File

@@ -1,19 +0,0 @@
name: Update Spring Boot Version
on:
workflow_dispatch:
schedule:
- cron: '0 12 * * *' # Once per day at 12am UTC
jobs:
update-spring-boot-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update Spring Boot Version
run: ./update-spring-boot-version.sh
- name: Extract Version
run: echo "MINOR_VERSION=$(cat versions.properties | grep springBootVersion | cut -d'=' -f2)" >> $GITHUB_ENV
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update Spring Boot Version to ${{ env.MINOR_VERSION }}"

View File

@@ -1,14 +0,0 @@
#!/bin/bash
source ./find-latest-minor-version.sh
source ./versions.properties
next_minor_version=$(find_next_minor_version "$springBootVersion" "https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter")
if [ -z "$next_minor_version" ]; then
echo "No new minor Spring Boot version found"
exit 0
fi
sed -i '' -e "s/^\(springBootVersion\s*=\s*\).*$/\1$next_minor_version/" versions.properties
bash ./sync-boot-version.sh "$next_minor_version"