From 7f425617cdd0ee2fe7f5d200d5770f4df1c8fc14 Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Thu, 29 Feb 2024 09:27:41 +0800 Subject: [PATCH] chore(workflows): increase timeout for build job Increase the timeout for the build job in cd.yml to 20 minutes to prevent it from getting stuck on Build `hap`. --- .github/workflows/cd.yml | 2 ++ .github/workflows/ci.yml | 2 ++ 2 files changed, 4 insertions(+) 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