From 6f0b5278848965e8258ec46a51f556aa34e1a48c Mon Sep 17 00:00:00 2001 From: cluntop <85211716+cluntop@users.noreply.github.com> Date: Wed, 13 May 2026 00:30:22 +0800 Subject: [PATCH] Update zip.yml --- .github/workflows/zip.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/zip.yml b/.github/workflows/zip.yml index 89ef8fbd4..532fdf5f3 100755 --- a/.github/workflows/zip.yml +++ b/.github/workflows/zip.yml @@ -54,21 +54,21 @@ jobs: cd .. rm -rf temp_xiaosa - - name: Process Source Repo - run: | - git clone --depth 1 https://github.com/fish2018/PG.git source-repo + #- name: Process Source Repo + #run: | + #git clone --depth 1 https://github.com/fish2018/PG.git source-repo - cd source-repo - ZIP_FILE=$(find . -type f -name "pg.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9].zip" | sort -r | head -n 1) + #cd source-repo + #ZIP_FILE=$(find . -type f -name "pg.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9].zip" | sort -r | head -n 1) - if [ -z "$ZIP_FILE" ]; then - echo "Warning: No matching zip file found in Source Repo." - else - echo "Found zip file: $ZIP_FILE" + #if [ -z "$ZIP_FILE" ]; then + #echo "Warning: No matching zip file found in Source Repo." + #else + #echo "Found zip file: $ZIP_FILE" - unzip -o "$ZIP_FILE" -x "README.txt" -d ../target-repo/ - echo "PG zip extracted to target repo." - fi + #unzip -o "$ZIP_FILE" -x "README.txt" -d ../target-repo/ + #echo "PG zip extracted to target repo." + #fi - name: Commit and push changes working-directory: target-repo