Skip to content

Commit

Permalink
timeout minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
broskoTT committed Nov 21, 2024
1 parent a9335df commit 2cea744
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build-clients.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
name: Build clients on newest UMD

on:
workflow_call:
workflow_dispatch:
inputs:
timeout:
required: true
description: 'The timeout for the job in minutes'
type: number
default: 30
pull_request:
branches: ["main"]
push:
branches: ["main"]

jobs:
build-tt-metal:
timeout-minutes: 20
# Due to parsing bug, fromJSON is used to convert string to number.
# In pull_request or push events, the input context is not available, stating the default again here.
timeout-minutes: ${{ fromJSON(inputs.timeout || '30') }}
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 2cea744

Please sign in to comment.