From 81cb9fd0f5655b5214d4773c1a8f8d6425a2a34a Mon Sep 17 00:00:00 2001 From: Ianick Noejovich Date: Thu, 2 Nov 2023 16:52:10 -0300 Subject: [PATCH] update actions script --- .github/workflows/build.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f9e849e..b472d10 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,20 +4,23 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: set up JDK 17 - uses: actions/setup-java@v2 + - name: checkout repo + uses: actions/checkout@v4 + - name: setup JDK 17 + uses: actions/setup-java@v3 with: java-version: '17' distribution: 'zulu' + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 - name: make gradlew executable run: chmod +x ./gradlew - name: add api key property run: echo "API_KEY=\"${{ secrets.DOLARITO_API_KEY }}\"" >> local.properties - name: build debug run: ./gradlew app:assembleDebug - - name: Upload - uses: actions/upload-artifact@v2 + - name: upload + uses: actions/upload-artifact@v3 with: name: generated-apk path: app/build/outputs/apk/debug/app-debug.apk