Skip to content

Commit

Permalink
chore(workflows): increase timeout for build job
Browse files Browse the repository at this point in the history
Increase the timeout for the build job in cd.yml to 20 minutes to prevent it from getting stuck on Build `hap`.
  • Loading branch information
phodal committed Feb 29, 2024
1 parent 5df3139 commit 7f42561
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f42561

Please sign in to comment.