[github] Add timeouts for all jobs
To avoid situation when Fastlane waited for 6h. Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
This commit is contained in:
parent
bbb8dee294
commit
6c74151dad
12 changed files with 16 additions and 4 deletions
1
.github/workflows/android-beta.yaml
vendored
1
.github/workflows/android-beta.yaml
vendored
|
@ -30,6 +30,7 @@ jobs:
|
|||
android-google-beta:
|
||||
name: Android Google Beta
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
environment: beta
|
||||
steps:
|
||||
- name: Install build tools and dependencies
|
||||
|
|
|
@ -12,6 +12,7 @@ jobs:
|
|||
android-check-metadata:
|
||||
name: Check app metadata
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
1
.github/workflows/android-check.yaml
vendored
1
.github/workflows/android-check.yaml
vendored
|
@ -29,6 +29,7 @@ jobs:
|
|||
android-check:
|
||||
name: Build Android Debug
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
2
.github/workflows/android-monkey.yaml
vendored
2
.github/workflows/android-monkey.yaml
vendored
|
@ -7,6 +7,7 @@ on:
|
|||
jobs:
|
||||
precondition:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
name: Check preconditions
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
|
@ -31,6 +32,7 @@ jobs:
|
|||
android-google-debug:
|
||||
name: Android Google Debug
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
needs: precondition
|
||||
if: ${{ needs.precondition.outputs.updated != '' }}
|
||||
environment: beta
|
||||
|
|
|
@ -6,6 +6,7 @@ jobs:
|
|||
android-release-metadata:
|
||||
name: Upload Google Play metadata
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
environment: production
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
|
|
2
.github/workflows/android-release.yaml
vendored
2
.github/workflows/android-release.yaml
vendored
|
@ -10,6 +10,7 @@ jobs:
|
|||
tag:
|
||||
name: Tag
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
environment: production
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
|
@ -58,6 +59,7 @@ jobs:
|
|||
android-release:
|
||||
name: Android Release
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
environment: production
|
||||
needs: tag
|
||||
strategy:
|
||||
|
|
1
.github/workflows/ios-beta.yaml
vendored
1
.github/workflows/ios-beta.yaml
vendored
|
@ -29,6 +29,7 @@ jobs:
|
|||
ios-beta:
|
||||
name: Apple TestFlight
|
||||
runs-on: macos-12
|
||||
timeout-minutes: 120
|
||||
env:
|
||||
LANG: en_US.UTF-8 # Fastlane complains that the terminal is using ASCII.
|
||||
LANGUAGE: en_US.UTF-8
|
||||
|
|
1
.github/workflows/ios-check-metadata.yaml
vendored
1
.github/workflows/ios-check-metadata.yaml
vendored
|
@ -11,6 +11,7 @@ jobs:
|
|||
ios-check-metadata:
|
||||
name: Check app metadata
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
1
.github/workflows/ios-check.yaml
vendored
1
.github/workflows/ios-check.yaml
vendored
|
@ -28,6 +28,7 @@ jobs:
|
|||
ios-check:
|
||||
name: Build iOS
|
||||
runs-on: macos-12
|
||||
timeout-minutes: 120
|
||||
env:
|
||||
LANG: en_US.UTF-8 # Fastlane complains that the terminal is using ASCII.
|
||||
LANGUAGE: en_US.UTF-8
|
||||
|
|
1
.github/workflows/ios-release.yaml
vendored
1
.github/workflows/ios-release.yaml
vendored
|
@ -6,6 +6,7 @@ jobs:
|
|||
ios-release:
|
||||
name: iOS Release
|
||||
runs-on: macos-12
|
||||
timeout-minutes: 120
|
||||
env:
|
||||
LANG: en_US.UTF-8 # Fastlane complains that the terminal is using ASCII.
|
||||
LANGUAGE: en_US.UTF-8
|
||||
|
|
7
.github/workflows/linux-check.yaml
vendored
7
.github/workflows/linux-check.yaml
vendored
|
@ -26,8 +26,7 @@ jobs:
|
|||
linux-no-unity:
|
||||
name: Linux no unity build
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
- name: Free disk space by removing .NET, Android and Haskell
|
||||
shell: bash
|
||||
|
@ -72,6 +71,7 @@ jobs:
|
|||
linux-matrix:
|
||||
name: Linux builds and tests
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
@ -158,8 +158,7 @@ jobs:
|
|||
linux-appstream:
|
||||
name: Linux validate appstream data
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v2
|
||||
|
|
1
.github/workflows/strings-check.yaml
vendored
1
.github/workflows/strings-check.yaml
vendored
|
@ -12,6 +12,7 @@ jobs:
|
|||
validate-translation-strings:
|
||||
name: Validate translation strings
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
Reference in a new issue