diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 94613a9..211ab73 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -8,6 +8,8 @@ on: jobs: build: runs-on: macos-latest + # sometimes will stuck on Build `hap`, like: https://github.com/harmonyos-dev/aigc-harmonyos-sample/actions/runs/8078878412/job/22074563084 + timeout-minutes: 20 permissions: contents: write diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bdbfa2..33eb033 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,8 @@ on: jobs: build: runs-on: macos-latest + # sometimes will stuck on Build `hap`, like: https://github.com/harmonyos-dev/aigc-harmonyos-sample/actions/runs/8078878412/job/22074563084 + timeout-minutes: 20 steps: - uses: actions/checkout@v2