From 1174c4d2f5d00614640676c9f9a5f082bab5a9a4 Mon Sep 17 00:00:00 2001 From: Super12138 <70494801+Super12138@users.noreply.github.com> Date: Sat, 19 Jul 2025 17:08:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/script_build.yml | 38 ++++++++++++++++-------------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/.github/workflows/script_build.yml b/.github/workflows/script_build.yml index 4c4b4cd..63f304b 100644 --- a/.github/workflows/script_build.yml +++ b/.github/workflows/script_build.yml @@ -10,25 +10,27 @@ on: workflow_dispatch: jobs: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4.2.2 - with: - fetch-depth: 0 + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + with: + fetch-depth: 0 - - name: Setup Node - uses: actions/setup-node@v4.4.0 - with: - node-version: 22 + - name: Setup Node + uses: actions/setup-node@v4.4.0 + with: + node-version: 22 - - name: Install dependencies - run: cd script && npm install + - name: Install dependencies + run: cd script && npm install - - name: Build - run: npm run build + - name: Build + run: cd script && npm run build - - name: Upload artifact - uses: actions/upload-pages-artifact@v3.0.1 - with: - path: ./script/updateVersionCode.js \ No newline at end of file + - name: Upload artifact + uses: actions/upload-artifact@v4.6.2 + with: + name: Todo Script + path: ./script/updateVersionCode.js \ No newline at end of file