Skip to content

Commit ceb9264

Browse files
authored
Fix timeout for arm64 builds not correctly set (#839)
1 parent def0f9e commit ceb9264

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,18 @@ env:
1414
BUILDKIT_PROGRESS: plain
1515
DISCOURSE_TURBO_RSPEC_RETRY_AND_LOG_FLAKY_TESTS: true
1616

17-
1817
jobs:
1918
timestamp:
2019
runs-on: ubuntu-latest
2120
outputs:
2221
timestamp: ${{ steps.timestamp.outputs.timestamp }}
23-
steps:
24-
- id: timestamp
25-
run: |
26-
timestamp=`date +%Y%m%d-%H%M`
27-
echo "timestamp=$timestamp"
28-
echo "timestamp=$timestamp" >> $GITHUB_OUTPUT
29-
22+
steps:
23+
- id: timestamp
24+
run: |
25+
timestamp=`date +%Y%m%d-%H%M`
26+
echo "timestamp=$timestamp"
27+
echo "timestamp=$timestamp" >> $GITHUB_OUTPUT
28+
3029
base:
3130
# `unbuntu-22.04-8core` for arch amd64 non-scheduled builds
3231
# `unbuntu-22.04` for arch amd64 scheduled builds
@@ -36,7 +35,7 @@ jobs:
3635
strategy:
3736
matrix:
3837
arch: [amd64, arm64]
39-
timeout-minutes: ${{ (github.event_name != 'schedule' && 30) || ((matrix.arch == 'arm64' && 60) || 30) }}
38+
timeout-minutes: ${{ (github.event_name == 'schedule' && 60) || ((matrix.arch == 'arm64' && 45) || 30) }}
4039
needs: timestamp
4140
env:
4241
ARCH: ${{matrix.arch}}

0 commit comments

Comments
 (0)