Browse Source

:green_heart: Fixing CI Build.

冷冷 9 months ago
parent
commit
ad8540098c
3 changed files with 14 additions and 22 deletions
  1. 0 21
      .github/workflows/mirror-repository.yml
  2. 13 0
      .github/workflows/update-version.yml
  3. 1 1
      VERSION

+ 0 - 21
.github/workflows/mirror-repository.yml

@@ -1,21 +0,0 @@
-name: Sync Remote Repository
-
-on:
-  push:
-    branches:
-      - master 
-      - jdk_17
-
-jobs:
-  sync-repo:
-    runs-on: ubuntu-latest
-
-    steps:
-      - uses: actions/checkout@v3
-        with:
-          fetch-depth: 0
-      - uses: yesolutions/mirror-action@master
-        with:
-          REMOTE: 'https://git.pig4cloud.com/pig/CGTM.git'
-          GIT_USERNAME: lengleng
-          GIT_PASSWORD: ${{ secrets.GIT_GOGS_PASSWORD }}

+ 13 - 0
.github/workflows/update-version.yml

@@ -46,3 +46,16 @@ jobs:
           git config --local user.name "GitHub Action"
           git commit -m "Update version to $new_version" -a
           git push origin master
+
+  sync-repo:
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
+      - uses: yesolutions/mirror-action@master
+        with:
+          REMOTE: 'https://git.pig4cloud.com/pig/CGTM.git'
+          GIT_USERNAME: lengleng
+          GIT_PASSWORD: ${{ secrets.GIT_GOGS_PASSWORD }}

+ 1 - 1
VERSION

@@ -1 +1 @@
-V2024002
+V2024000