Bump gradle/gradle-build-action to 2.2.0 stable (#1937)

github: bump `gradle/gradle-build-action` to 2.2.0 stable
This commit is contained in:
Harsh Shandilya 2022-06-07 08:10:22 +05:30 committed by GitHub
parent 590eb74052
commit 9e717b6809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 14 deletions

View File

@ -27,7 +27,7 @@ jobs:
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Build release binaries - name: Build release binaries
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
with: with:
arguments: :app:assembleFreeRelease :app:assembleNonFreeRelease :app:bundleNonFreeRelease arguments: :app:assembleFreeRelease :app:assembleNonFreeRelease :app:bundleNonFreeRelease
env: env:

View File

@ -30,7 +30,7 @@ jobs:
fi fi
- name: Upload binaries - name: Upload binaries
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
with: with:
arguments: :${{ steps.task-select.outputs.PROJECT }}:publishAllPublicationsToMavenCentralRepository arguments: :${{ steps.task-select.outputs.PROJECT }}:publishAllPublicationsToMavenCentralRepository
env: env:
@ -40,7 +40,7 @@ jobs:
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.NEXUS_PUBLISH_GPG_KEY_PASSWORD }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.NEXUS_PUBLISH_GPG_KEY_PASSWORD }}
- name: Close and release repository - name: Close and release repository
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
with: with:
arguments: closeAndReleaseRepository arguments: closeAndReleaseRepository
env: env:

View File

@ -29,7 +29,7 @@ jobs:
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Build release app - name: Build release app
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
env: env:
SNAPSHOT: "true" SNAPSHOT: "true"
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} SENTRY_DSN: ${{ secrets.SENTRY_DSN }}

View File

@ -40,7 +40,7 @@ jobs:
- name: Check codestyle - name: Check codestyle
if: "${{ steps.service-changed.outputs.result == 'true' }}" if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
with: with:
arguments: spotlessCheck arguments: spotlessCheck
@ -74,7 +74,7 @@ jobs:
- name: Run unit tests - name: Run unit tests
if: "${{ steps.service-changed.outputs.result == 'true' }}" if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
with: with:
arguments: test -PslimTests arguments: test -PslimTests
@ -115,7 +115,7 @@ jobs:
- name: Build debug APKs - name: Build debug APKs
if: "${{ steps.service-changed.outputs.result == 'true' }}" if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
with: with:
arguments: assembleFreeDebug assembleNonFreeDebug arguments: assembleFreeDebug assembleNonFreeDebug
@ -149,7 +149,7 @@ jobs:
- name: Check library API - name: Check library API
if: "${{ steps.service-changed.outputs.result == 'true' }}" if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
with: with:
arguments: apiCheck arguments: apiCheck
@ -183,7 +183,7 @@ jobs:
- name: Run Lint on debug variants - name: Run Lint on debug variants
if: "${{ steps.service-changed.outputs.result == 'true' }}" if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
with: with:
arguments: lintDebug arguments: lintDebug
@ -217,6 +217,6 @@ jobs:
- name: Assemble non-free release - name: Assemble non-free release
if: "${{ steps.service-changed.outputs.result == 'true' }}" if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
with: with:
arguments: aNFR arguments: aNFR

View File

@ -40,7 +40,7 @@ jobs:
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Run checks - name: Run checks
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
env: env:
GRADLE_VERSION_OVERRIDE_com_android_tools_build_gradle: ${{ matrix.agp-version }} GRADLE_VERSION_OVERRIDE_com_android_tools_build_gradle: ${{ matrix.agp-version }}
with: with:

View File

@ -18,7 +18,7 @@ jobs:
java-version: 17 java-version: 17
- name: Download new translations from Crowdin - name: Download new translations from Crowdin
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
with: with:
arguments: crowdin arguments: crowdin
env: env:

View File

@ -18,7 +18,7 @@ jobs:
java-version: 17 java-version: 17
- name: Download new publicsuffix data - name: Download new publicsuffix data
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
with: with:
arguments: updatePSL arguments: updatePSL
@ -26,7 +26,7 @@ jobs:
run: if [[ $(git diff --binary --stat) != "" ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi run: if [[ $(git diff --binary --stat) != "" ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
- name: Verify update publicsuffixes file - name: Verify update publicsuffixes file
uses: gradle/gradle-build-action@v2.2.0-beta.1 uses: gradle/gradle-build-action@v2.2.0
if: "${{ env.UPDATED == 'true' }}" if: "${{ env.UPDATED == 'true' }}"
with: with:
arguments: :autofill-parser:test -PslimTests arguments: :autofill-parser:test -PslimTests