From e98e79bda9b5a15b8f5db6448ba54ab2656f70eb Mon Sep 17 00:00:00 2001 From: Emily Dixon Date: Fri, 16 Feb 2024 10:49:26 -0800 Subject: [PATCH] Update the Gradle Build Action (#33) --- .github/workflows/android-cicd.yml | 4 ++-- .github/workflows/artifactory-deploy-from-tag.yml | 2 +- .github/workflows/saucelabs-tests-push.yml | 2 +- .github/workflows/upload-dokka-docs.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/android-cicd.yml b/.github/workflows/android-cicd.yml index b628d681..c4b63cd7 100644 --- a/.github/workflows/android-cicd.yml +++ b/.github/workflows/android-cicd.yml @@ -24,7 +24,7 @@ jobs: # This step will build all modules configured for publication and publish them # Does your project publish multiple libraries in a dependency chain? You'll have to add another copy of this step and build the dependency in the first one - name: Build and Publish to Dev Repo - uses: gradle/gradle-build-action@v2.3.3 + uses: gradle/gradle-build-action@v3.1.0 with: arguments: artifactoryPublish env: @@ -46,7 +46,7 @@ jobs: java-version: '17' distribution: 'temurin' - name: Unit Tests - uses: gradle/gradle-build-action@v2.3.3 + uses: gradle/gradle-build-action@v3.1.0 with: arguments: test diff --git a/.github/workflows/artifactory-deploy-from-tag.yml b/.github/workflows/artifactory-deploy-from-tag.yml index 572b772f..d749da2f 100644 --- a/.github/workflows/artifactory-deploy-from-tag.yml +++ b/.github/workflows/artifactory-deploy-from-tag.yml @@ -26,7 +26,7 @@ jobs: # This step will build all modules configured for publication and publish them # Does your project publish multiple libraries in a dependency chain? You'll have to add another copy of this step and build the dependency in the first one - name: Deploy to Release Repo - uses: gradle/gradle-build-action@v2.3.3 + uses: gradle/gradle-build-action@v3.1.0 with: arguments: artifactoryPublish env: diff --git a/.github/workflows/saucelabs-tests-push.yml b/.github/workflows/saucelabs-tests-push.yml index 35848620..90433f05 100644 --- a/.github/workflows/saucelabs-tests-push.yml +++ b/.github/workflows/saucelabs-tests-push.yml @@ -24,7 +24,7 @@ jobs: java-version: '17' distribution: 'temurin' - name: Build automated tests - uses: gradle/gradle-build-action@v2.3.3 + uses: gradle/gradle-build-action@v3.1.0 with: arguments: automatedtests:assembleDebug :automatedtests:assembleDebugAndroidTest - name: Upload Test APKs diff --git a/.github/workflows/upload-dokka-docs.yml b/.github/workflows/upload-dokka-docs.yml index 7963223d..3f2c9556 100644 --- a/.github/workflows/upload-dokka-docs.yml +++ b/.github/workflows/upload-dokka-docs.yml @@ -45,7 +45,7 @@ jobs: # If you have a multi-module project or monorepo, you'll need to repeat these steps # POSSIBLE CONFIGURATION: make sure the `arguments:` tag matches the correct task(s) for your project - name: Build Dokka Docs - uses: gradle/gradle-build-action@v2.4.2 + uses: gradle/gradle-build-action@v3.1.0 with: arguments: ':library:dokkaHtml' # REQUIRED CONFIGURATION: You have to change player-android to a suitable URL slug for your project