mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
try multiline expression for group sufficx
This commit is contained in:
parent
43c125ed32
commit
8c65285ec5
4 changed files with 25 additions and 18 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -10,10 +10,12 @@ env:
|
|||
CI_GRADLE_ARG_PROPERTIES: >
|
||||
-Porg.gradle.jvmargs=-Xmx2g
|
||||
-Porg.gradle.parallel=false
|
||||
CI_ANY_MAIN: ${{ github.ref == 'refs/heads/main' && format('main-{0}', github.sha) }}
|
||||
CI_ANY_DEVELOP: ${{ github.ref == 'refs/heads/develop' && format('develop-{0}', github.sha) }}
|
||||
CI_ONE_PR: ${{ format('build-debug-{0}-{1}', matrix.target, github.ref) }}
|
||||
CI_GROUP_SUFFIX: ${{ CI_ANY_MAIN || CI_ANY_DEVELOP || CI_ONE_PR }}
|
||||
CI_GROUP_SUFFIX: >
|
||||
${{
|
||||
github.ref == 'refs/heads/main' && format('main-{0}', github.sha) ||
|
||||
github.ref == 'refs/heads/develop' && format('develop-{0}', github.sha) ||
|
||||
github.ref
|
||||
}}
|
||||
jobs:
|
||||
debug:
|
||||
name: Build debug APKs (${{ matrix.target }})
|
||||
|
|
13
.github/workflows/integration_tests.yml
vendored
13
.github/workflows/integration_tests.yml
vendored
|
@ -10,18 +10,19 @@ env:
|
|||
CI_GRADLE_ARG_PROPERTIES: >
|
||||
-Porg.gradle.jvmargs=-Xmx2g
|
||||
-Porg.gradle.parallel=false
|
||||
CI_ANY_MAIN: ${{ github.ref == 'refs/heads/main' && format('main-{0}', github.sha) }}
|
||||
CI_ANY_DEVELOP: ${{ github.ref == 'refs/heads/develop' && format('develop-{0}', github.sha) }}
|
||||
CI_ONE_PR: ${{ format('build-debug-{0}-{1}', matrix.target, github.ref) }}
|
||||
CI_GROUP_SUFFIX: ${{ CI_ANY_MAIN || CI_ANY_DEVELOP || CI_ONE_PR }}
|
||||
|
||||
CI_GROUP_SUFFIX: >
|
||||
${{
|
||||
github.ref == 'refs/heads/main' && format('main-{0}', github.sha) ||
|
||||
github.ref == 'refs/heads/develop' && format('develop-{0}', github.sha) ||
|
||||
github.ref
|
||||
}}
|
||||
jobs:
|
||||
# Build Android Tests [Matrix SDK]
|
||||
build-android-test-matrix-sdk:
|
||||
name: Matrix SDK - Build Android Tests
|
||||
runs-on: ubuntu-latest
|
||||
concurrency:
|
||||
group: ${{ format('test-matrix-sdk-{0}', CI_GROUP_SUFFIX) }}
|
||||
group: ${{ format('test-matrix-sdk-{0}', env.CI_GROUP_SUFFIX) }}
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
10
.github/workflows/quality.yml
vendored
10
.github/workflows/quality.yml
vendored
|
@ -6,10 +6,12 @@ on:
|
|||
branches: [ main, develop ]
|
||||
|
||||
env:
|
||||
CI_ANY_MAIN: ${{ github.ref == 'refs/heads/main' && format('main-{0}', github.sha) }}
|
||||
CI_ANY_DEVELOP: ${{ github.ref == 'refs/heads/develop' && format('develop-{0}', github.sha) }}
|
||||
CI_ONE_PR: ${{ format('build-debug-{0}-{1}', matrix.target, github.ref) }}
|
||||
CI_GROUP_SUFFIX: ${{ CI_ANY_MAIN || CI_ANY_DEVELOP || CI_ONE_PR }}
|
||||
CI_GROUP_SUFFIX: >
|
||||
${{
|
||||
github.ref == 'refs/heads/main' && format('main-{0}', github.sha) ||
|
||||
github.ref == 'refs/heads/develop' && format('develop-{0}', github.sha) ||
|
||||
github.ref
|
||||
}}
|
||||
|
||||
jobs:
|
||||
check:
|
||||
|
|
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
|
@ -10,10 +10,12 @@ env:
|
|||
CI_GRADLE_ARG_PROPERTIES: >
|
||||
-Porg.gradle.jvmargs=-Xmx2g
|
||||
-Porg.gradle.parallel=false
|
||||
CI_ANY_MAIN: ${{ github.ref == 'refs/heads/main' && format('main-{0}', github.sha) }}
|
||||
CI_ANY_DEVELOP: ${{ github.ref == 'refs/heads/develop' && format('develop-{0}', github.sha) }}
|
||||
CI_ONE_PR: ${{ format('build-debug-{0}-{1}', matrix.target, github.ref) }}
|
||||
CI_GROUP_SUFFIX: ${{ CI_ANY_MAIN || CI_ANY_DEVELOP || CI_ONE_PR }}
|
||||
CI_GROUP_SUFFIX: >
|
||||
${{
|
||||
github.ref == 'refs/heads/main' && format('main-{0}', github.sha) ||
|
||||
github.ref == 'refs/heads/develop' && format('develop-{0}', github.sha) ||
|
||||
github.ref
|
||||
}}
|
||||
jobs:
|
||||
unit-tests:
|
||||
name: Run Unit Tests
|
||||
|
|
Loading…
Reference in a new issue