浏览代码

Remove update-spring-boot-version workflow

Issue gh-138
Marcus Hert Da Coregio 1 年之前
父节点
当前提交
3580821a21
共有 2 个文件被更改,包括 0 次插入33 次删除
  1. 0 19
      .github/workflows/update-spring-boot-version.yml
  2. 0 14
      update-spring-boot-version.sh

+ 0 - 19
.github/workflows/update-spring-boot-version.yml

@@ -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 }}"

+ 0 - 14
update-spring-boot-version.sh

@@ -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"