From f1d17c0d6d18962d9856df194b5e62849c5cb9c4 Mon Sep 17 00:00:00 2001 From: zzjc1234 <2359047351@qq.com> Date: Thu, 10 Oct 2024 16:27:29 +0800 Subject: [PATCH] test: update workflow --- .gitea/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 92a0697..a47fa40 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -104,14 +104,14 @@ jobs: echo "HASH_MATCH=false" >> $GITHUB_ENV fi - name: Set up Git - if: HASH_MATCH==true + if: env.HASH_MATCH==true run: | git config --global user.name "gitea-actions[bot]" git config --global user.email "gitea-actions[bot]@users.noreply.gitea.com" - # chown -R root:root /root/.ssh + chown -R root:root /root/.ssh - name: Clone, Commit and Push shell: bash - if: HASH_MATCH==false + if: env.HASH_MATCH==false run: | git clone ssh://git@focs.ji.sjtu.edu.cn:2222/JOJ/runner-images.git runner-images cd runner-images