瀏覽代碼

workflow update

Taislin 7 月之前
父節點
當前提交
75a714b62d
共有 1 個文件被更改,包括 4 次插入12 次删除
  1. 4 12
      .github/workflows/upload-client.yml

+ 4 - 12
.github/workflows/upload-client.yml

@@ -58,12 +58,8 @@ jobs:
           git config user.name "GitHub Action"
           git config user.email "action@github.com"
           git add .
-          if git status --porcelain | grep .; then
-            git commit -m "Update compiled client from Civ14 - changed files only"
-            git push
-          else
-            echo "No changes detected, skipping commit and push"
-          fi
+          git commit -m "Update compiled client from Civ14"
+          git push
           cd -
           # Copy compiled output to target-repo/
           rsync -av --ignore-existing ./../bin/Content.Server/win-x64/ Content.Server/ || true
@@ -71,9 +67,5 @@ jobs:
           git config user.name "GitHub Action"
           git config user.email "action@github.com"
           git add .
-          if git status --porcelain | grep .; then
-            git commit -m "Update compiled server from Civ14 - changed files only"
-            git push
-          else
-            echo "No changes detected, skipping commit and push"
-          fi
+          git commit -m "Update compiled server from Civ14 - changed files only"
+          git push