Browse Source

:green_heart: Fixing CI Build.

冷冷 9 months ago
parent
commit
add42bbce2
2 changed files with 4 additions and 10 deletions
  1. 3 9
      .github/workflows/update-version.yml
  2. 1 1
      VERSION

+ 3 - 9
.github/workflows/update-version.yml

@@ -1,4 +1,4 @@
-name: Update Version
+name: update version and sync-repo
 
 on:
   push:
@@ -47,14 +47,8 @@ jobs:
           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
+      - name: sync-repo
+        uses: yesolutions/mirror-action@master
         with:
           REMOTE: 'https://git.pig4cloud.com/pig/CGTM.git'
           GIT_USERNAME: lengleng

+ 1 - 1
VERSION

@@ -1 +1 @@
-V2024001
+V2024000