From: Pierre Ossman Date: Sat, 25 Mar 2023 12:12:13 +0000 (+0100) Subject: Limit GitHub action run times X-Git-Tag: v1.13.90~84 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9b9e2e6192905422d3eb2bb589a8b206e81d9240;p=tigervnc.git Limit GitHub action run times We don't want a broken job to consume our entire quota, so make sure things are killed if the stray too far from a normal runtime. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68ecaaa9..a34badb7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ on: [push, pull_request] jobs: build-linux: runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: actions/checkout@v3 - name: Install dependencies @@ -29,6 +30,7 @@ jobs: build-windows: runs-on: windows-latest + timeout-minutes: 20 defaults: run: shell: msys2 {0} @@ -60,6 +62,7 @@ jobs: build-macos: runs-on: macos-latest + timeout-minutes: 20 steps: - uses: actions/checkout@v3 - name: Install dependencies @@ -81,6 +84,7 @@ jobs: build-java: runs-on: ubuntu-latest + timeout-minutes: 5 strategy: matrix: java: [ '8', '11', '16' ] @@ -103,6 +107,7 @@ jobs: path: java/build/VncViewer.jar build-packages: + timeout-minutes: 20 strategy: matrix: target: