From a8daf3133c6f7b1fbbecb7264d6044eb2c7938c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Fri, 18 Oct 2024 10:33:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=B5=8B=E8=AF=95.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/临时测试.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/临时测试.yaml b/.github/workflows/临时测试.yaml index 960f07e..fa55c10 100644 --- a/.github/workflows/临时测试.yaml +++ b/.github/workflows/临时测试.yaml @@ -8,6 +8,7 @@ jobs: - uses: actions/checkout@main - id: check-git-folder run: | + # 🤖 判断是否存在 .git 文件夹 [ -d .git ] && { echo "🤖 Found .git folder"; echo "git-folder-exists=true" >> $GITHUB_OUTPUT; } || { echo "🤖 No .git folder found"; echo "git-folder-exists=false" >> $GITHUB_OUTPUT; } - name: Show git-folder-exists run: echo ${{ steps.check-git-folder.outputs.git-folder-exists }} @@ -16,6 +17,7 @@ jobs: steps: - id: check-git-folder run: | + # 🤖 判断是否存在 .git 文件夹 [ -d .git ] && { echo "🤖 Found .git folder"; echo "git-folder-exists=true" >> $GITHUB_OUTPUT; } || { echo "🤖 No .git folder found"; echo "git-folder-exists=false" >> $GITHUB_OUTPUT; } - name: Show git-folder-exists run: echo ${{ steps.check-git-folder.outputs.git-folder-exists }} \ No newline at end of file