diff --git a/.github/workflows/build-device.yml b/.github/workflows/build-device.yml index ce5a8e15..c2e5710b 100644 --- a/.github/workflows/build-device.yml +++ b/.github/workflows/build-device.yml @@ -25,7 +25,8 @@ env: jobs: build: - timeout-minutes: ${{ inputs.timeout }} + # Due to parsing bug, fromJSON is used to convert string to number + timeout-minutes: ${{ fromJSON(inputs.timeout) }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 27e1efd7..5affd5c2 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -12,7 +12,8 @@ on: jobs: build: - timeout-minutes: ${{ inputs.timeout }} + # Due to parsing bug, fromJSON is used to convert string to number + timeout-minutes: ${{ fromJSON(inputs.timeout) }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/build-tests.yml b/.github/workflows/build-tests.yml index 08dc84ee..3916e4bf 100644 --- a/.github/workflows/build-tests.yml +++ b/.github/workflows/build-tests.yml @@ -37,7 +37,8 @@ env: jobs: build: - timeout-minutes: ${{ inputs.timeout }} + # Due to parsing bug, fromJSON is used to convert string to number + timeout-minutes: ${{ fromJSON(inputs.timeout) }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 98b2a526..e9d1e6b2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -45,7 +45,8 @@ env: jobs: test: - timeout-minutes: ${{ inputs.timeout }} + # Due to parsing bug, fromJSON is used to convert string to number + timeout-minutes: ${{ fromJSON(inputs.timeout) }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/test-runner.yaml b/.github/workflows/test-runner.yaml index 5119403b..c871c773 100644 --- a/.github/workflows/test-runner.yaml +++ b/.github/workflows/test-runner.yaml @@ -6,11 +6,13 @@ on: timeout: required: true description: 'The timeout for the job in minutes' + type: number default: 10 jobs: check-runners-host: - timeout-minutes: ${{ inputs.timeout }} + # Due to parsing bug, fromJSON is used to convert string to number + timeout-minutes: ${{ fromJSON(inputs.timeout) }} strategy: fail-fast: false matrix: @@ -57,7 +59,8 @@ jobs: du -h --max-depth=1 | sort -rh check-runners-docker: - timeout-minutes: ${{ inputs.timeout }} + # Due to parsing bug, fromJSON is used to convert string to number + timeout-minutes: ${{ fromJSON(inputs.timeout) }} strategy: fail-fast: false matrix: