Skip to content

Commit e097509

Browse files
authored
Merge pull request #224 from zhangxichang/main
测试web发布工作流
2 parents ae88104 + b4fd837 commit e097509

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/actions/initialize-project/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ description: 初始化项目依赖
33
runs:
44
using: "composite"
55
steps:
6-
- uses: actions/checkout@v6
76
- uses: cargo-bins/cargo-binstall@main
87
- uses: oven-sh/setup-bun@v2
98
- uses: astral-sh/setup-uv@v7

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
if: ${{needs.check-release.outputs.release=='true'}}
4242
runs-on: ubuntu-latest
4343
steps:
44+
- uses: actions/checkout@v6
4445
- uses: ./.github/actions/initialize-project
4546
- name: 应用测试
4647
run: bun run test
@@ -63,6 +64,7 @@ jobs:
6364
env:
6465
TARGET_PATH: target/release/pupu-windows.exe
6566
steps:
67+
- uses: actions/checkout@v6
6668
- uses: ./.github/actions/initialize-project
6769
- name: 构建
6870
run: |
@@ -82,6 +84,7 @@ jobs:
8284
env:
8385
TARGET_PATH: target/release/pupu-android.apk
8486
steps:
87+
- uses: actions/checkout@v6
8588
- uses: ./.github/actions/initialize-project
8689
- name: 初始化安卓构建
8790
run: |

.github/workflows/web-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
name: 应用测试
1111
runs-on: ubuntu-latest
1212
steps:
13+
- uses: actions/checkout@v6
1314
- uses: ./.github/actions/initialize-project
1415
- name: 应用测试
1516
run: bun run test
@@ -18,6 +19,7 @@ jobs:
1819
needs: app-test
1920
runs-on: ubuntu-latest
2021
steps:
22+
- uses: actions/checkout@v6
2123
- uses: ./.github/actions/initialize-project
2224
- name: 构建
2325
run: bun run build

0 commit comments

Comments
 (0)