From 3c58ca85d0a1480969fabc0f1bb57eec63cc980d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E4=BC=9F=E6=9D=B0?= <674416404@qq.com> Date: Wed, 11 Sep 2024 17:59:11 +0800 Subject: [PATCH] chore: tj-actions/changed-files --- .github/workflows/pull-request.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index b0706f6eb6..8bdf9db104 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -43,11 +43,11 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 100 - - uses: marceloprado/has-changed-path@v1 + fetch-depth: 0 + - uses: tj-actions/changed-files@v45 id: web-changed with: - paths: style/web + files: style/web/** modify-mobile: runs-on: ubuntu-latest @@ -56,11 +56,11 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 100 - - uses: marceloprado/has-changed-path@v1 + fetch-depth: 0 + - uses: tj-actions/changed-files@v45 id: mobile-changed with: - paths: style/mobile + files: style/mobile/** build-web: runs-on: ubuntu-latest