From 953b246b34458da7f755e353fca6583f4fe55512 Mon Sep 17 00:00:00 2001 From: Meng Sen Date: Thu, 28 Nov 2024 16:59:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=8F=91=20=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E5=BA=94=E7=94=A8=E5=95=86=E5=BA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Meng Sen --- .github/workflows/process-apps.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/process-apps.yml b/.github/workflows/process-apps.yml index 34769cf6c..c85b8d862 100644 --- a/.github/workflows/process-apps.yml +++ b/.github/workflows/process-apps.yml @@ -26,10 +26,10 @@ jobs: - name: Run processing script run: python process-apps.py - - name: Check for changes - id: check_changes + - name: Verify generated directories run: | - git diff --exit-code || echo "Changes detected." + ls -R appstore || echo "appstore not created" + ls -R dockge || echo "dockge not created" - name: Configure Git if: steps.check_changes.outcome != 'success' @@ -42,6 +42,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git add . - git commit -m "Processed apps directory via GitHub Actions" - git push origin appstore + git add appstore dockge || echo "No changes to add" + git commit -m "Processed apps directory via GitHub Actions" || echo "Nothing to commit" + git push origin main