From f1abb1094c80822f66f75d44a6f60a7901b93e05 Mon Sep 17 00:00:00 2001 From: cxykevin Date: Mon, 8 Jul 2024 22:27:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build.yam?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index a127959..7c97d0d 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -12,7 +12,7 @@ jobs: uses: https://git.hmtsai.cn/actions/checkout@v4 - name: Get Hash id: src_hash - run: echo "::set-output name=src_hash::$(if [[ $(find src -type f -exec sha256sum {} \; | sha256sum | cut -d ' ' -f 1) = $(cat hash.txt) ]] then echo run; else echo next; fi)" + run: echo "::set-output name=src_hash::$(if [[ $(find src -type f -exec sha256sum {} \; | sha256sum | cut -d ' ' -f 1) = $(cat hash.txt) ]]; then echo run; else echo next; fi)" - name: Cache Node if: ${{ steps.src_hash.outputs.src_hash != 'run' }} uses: https://git.hmtsai.cn/actions/cache@v4 @@ -88,7 +88,7 @@ jobs: uses: https://git.hmtsai.cn/actions/checkout@v4 - name: Get Hash id: src_hash - run: echo "::set-output name=npmhash::$(if [[ $(find src -type f -exec sha256sum {} \; | sha256sum | cut -d ' ' -f 1) = $(cat hash.txt) ]] then echo run; fi)" + run: echo "::set-output name=npmhash::$(if [[ $(find src -type f -exec sha256sum {} \; | sha256sum | cut -d ' ' -f 1) = $(cat hash.txt) ]]; then echo run; fi)" - name: Prepare Source run: | echo "--- write source ---"