From 2b4b9d66dcafb00381e859f041c80a2dde259eff Mon Sep 17 00:00:00 2001 From: William Brawner Date: Tue, 1 Oct 2024 20:54:34 -0600 Subject: [PATCH] Fix deprecated usage of gradle-build action --- .forgejo/workflows/pull_request.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/pull_request.yml b/.forgejo/workflows/pull_request.yml index c114769..9e8b671 100644 --- a/.forgejo/workflows/pull_request.yml +++ b/.forgejo/workflows/pull_request.yml @@ -55,10 +55,10 @@ jobs: java-version: '17' - name: Setup Android SDK uses: https://git.wbrawner.com/android-actions/setup-android@v3 - - name: Build with Gradle - uses: https://git.wbrawner.com/gradle/gradle-build-action@v3 - with: - arguments: assemblePlayDebug assemblePlayDebugAndroidTest + - name: Setup Gradle + uses: https://git.wbrawner.com/gradle/actions/setup-gradle@v4 + - name: Build APKs + run: ./gradlew assemblePlayDebug assemblePlayDebugAndroidTest - name: Grant execute permission for flank_auth.sh run: chmod +x flank_auth.sh - name: Add auth for flank @@ -67,6 +67,4 @@ jobs: run: | ./flank_auth.sh - name: Run UI tests - uses: https://git.wbrawner.com/gradle/gradle-build-action@v3 - with: - arguments: runFlank + run: ./gradlew runFlank