From 78af1d7d7f7142c9f291c49b68ab4f828159743f Mon Sep 17 00:00:00 2001 From: cxykevin Date: Tue, 9 Jul 2024 21:24:27 +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 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 7a697df..8e54276 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,7 +3,7 @@ run-name: Build and Publish book (${{ gitea.actor }}) on: [push] jobs: - Format: + Build: runs-on: ubuntu-latest steps: - name: Info @@ -79,13 +79,6 @@ jobs: git add . git commit -m "Auto format" echo "__import__(\"os\").system(\"sh -c \\\"git push\\\"\")" > ezpush.py && python3 ezpush.py - Run: - runs-on: ubuntu-latest - steps: - - name: Info - run: echo "OS=${{ runner.os }} NAME=${{ gitea.event_name }} REPO=${{ gitea.repository }} BRANCH=${{ gitea.ref }} ST=${{ job.status }} RUNID=${{ gitea.run_id }}" - - name: Checkout - 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)"