Remove update-spring-boot-version workflow
Issue gh-138
This commit is contained in:
19
.github/workflows/update-spring-boot-version.yml
vendored
19
.github/workflows/update-spring-boot-version.yml
vendored
@@ -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 }}"
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user