[skip ci] Update gradle-command-action

This commit is contained in:
arkon 2021-11-28 19:06:27 -05:00
parent c260096740
commit 005e411fed
2 changed files with 7 additions and 25 deletions

View File

@ -36,25 +36,19 @@ jobs:
cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties
- name: Generate sources from the multi-source library
uses: gradle/gradle-command-action@v1
uses: gradle/gradle-command-action@v2
env:
CI_MULTISRC: "true"
with:
arguments: :multisrc:generateExtensions
distributions-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
- name: Build "${{ matrix.lang }}" extensions
uses: gradle/gradle-command-action@v1
uses: gradle/gradle-command-action@v2
env:
CI_MULTISRC: "true"
CI_MATRIX_LANG: ${{ matrix.lang }}
with:
arguments: assembleRelease
distributions-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
build_individual:
name: Build individual modules
@ -78,12 +72,9 @@ jobs:
cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties
- name: Build "${{ matrix.lang }}" extensions
uses: gradle/gradle-command-action@v1
uses: gradle/gradle-command-action@v2
env:
CI_MULTISRC: "false"
CI_MATRIX_LANG: ${{ matrix.lang }}
with:
arguments: assembleRelease
distributions-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
arguments: assembleRelease

View File

@ -44,25 +44,19 @@ jobs:
cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties
- name: Generate sources from the multi-source library
uses: gradle/gradle-command-action@v1
uses: gradle/gradle-command-action@v2
env:
CI_MULTISRC: "true"
with:
arguments: :multisrc:generateExtensions
distributions-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
- name: Build "${{ matrix.lang }}" extensions
uses: gradle/gradle-command-action@v1
uses: gradle/gradle-command-action@v2
env:
CI_MULTISRC: "true"
CI_MATRIX_LANG: ${{ matrix.lang }}
with:
arguments: assembleRelease
distributions-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
- name: Upload "${{ matrix.lang }}" APKs
uses: actions/upload-artifact@v2
@ -93,15 +87,12 @@ jobs:
cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties
- name: Build "${{ matrix.lang }}" extensions
uses: gradle/gradle-command-action@v1
uses: gradle/gradle-command-action@v2
env:
CI_MULTISRC: "false"
CI_MATRIX_LANG: ${{ matrix.lang }}
with:
arguments: assembleRelease
distributions-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
- name: Upload "${{ matrix.lang }}" APKs
uses: actions/upload-artifact@v2