Skip to content

Commit

Permalink
default timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
broskoTT committed Nov 21, 2024
1 parent eed10f5 commit 3a6ad61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-device.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ env:

jobs:
build:
# Due to parsing bug, fromJSON is used to convert string to number
timeout-minutes: ${{ fromJSON(inputs.timeout) }}
# 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 || '15') }}
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 3a6ad61

Please sign in to comment.