fix: 修复工作流错误
This commit is contained in:
parent
f4737cfd08
commit
1174c4d2f5
1 changed files with 20 additions and 18 deletions
6
.github/workflows/script_build.yml
vendored
6
.github/workflows/script_build.yml
vendored
|
|
@ -10,6 +10,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
@ -26,9 +27,10 @@ jobs:
|
||||||
run: cd script && npm install
|
run: cd script && npm install
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: cd script && npm run build
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3.0.1
|
uses: actions/upload-artifact@v4.6.2
|
||||||
with:
|
with:
|
||||||
|
name: Todo Script
|
||||||
path: ./script/updateVersionCode.js
|
path: ./script/updateVersionCode.js
|
||||||
Loading…
Reference in a new issue