Update gradle/gradle-build-action action to v3 #16

Merged
wbrawner merged 2 commits from renovate/gradle-gradle-build-action-3.x into main 2024-10-02 12:38:23 +00:00
2 changed files with 8 additions and 10 deletions

View file

@ -55,10 +55,10 @@ jobs:
java-version: '17' java-version: '17'
- name: Setup Android SDK - name: Setup Android SDK
uses: https://git.wbrawner.com/android-actions/setup-android@v3 uses: https://git.wbrawner.com/android-actions/setup-android@v3
- name: Build with Gradle - name: Setup Gradle
uses: https://git.wbrawner.com/gradle/gradle-build-action@v2 uses: https://git.wbrawner.com/gradle/actions/setup-gradle@v4
with: - name: Build APKs
arguments: assemblePlayDebug assemblePlayDebugAndroidTest run: ./gradlew assemblePlayDebug assemblePlayDebugAndroidTest
- name: Grant execute permission for flank_auth.sh - name: Grant execute permission for flank_auth.sh
run: chmod +x flank_auth.sh run: chmod +x flank_auth.sh
- name: Add auth for flank - name: Add auth for flank
@ -67,6 +67,4 @@ jobs:
run: | run: |
./flank_auth.sh ./flank_auth.sh
- name: Run UI tests - name: Run UI tests
uses: https://git.wbrawner.com/gradle/gradle-build-action@v2 run: ./gradlew runFlank
with:
arguments: runFlank

View file

@ -37,7 +37,7 @@ jobs:
distribution: 'zulu' distribution: 'zulu'
java-version: '17' java-version: '17'
- name: Run unit tests - name: Run unit tests
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v3
with: with:
arguments: testPlayDebugUnitTest arguments: testPlayDebugUnitTest
- name: Publish JUnit Results - name: Publish JUnit Results
@ -61,7 +61,7 @@ jobs:
distribution: 'zulu' distribution: 'zulu'
java-version: '17' java-version: '17'
- name: Build with Gradle - name: Build with Gradle
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v3
with: with:
arguments: assemblePlayDebug assemblePlayDebugAndroidTest arguments: assemblePlayDebug assemblePlayDebugAndroidTest
- name: Grant execute permission for flank_auth.sh - name: Grant execute permission for flank_auth.sh
@ -72,6 +72,6 @@ jobs:
run: | run: |
./flank_auth.sh ./flank_auth.sh
- name: Run UI tests - name: Run UI tests
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v3
with: with:
arguments: runFlank arguments: runFlank