diff --git a/.github/workflows/dominguez.yml b/.github/workflows/dominguez.yml index a700215..4202902 100644 --- a/.github/workflows/dominguez.yml +++ b/.github/workflows/dominguez.yml @@ -15,7 +15,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Setup build tool version variable + shell: bash + run: | + BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1) + echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV + echo Last build tool version is: $BUILD_TOOL_VERSION - name: Set up JDK uses: actions/setup-java@v3 @@ -34,13 +41,13 @@ jobs: #path app/build/outputs/apk/debug/app-debug.apk - name: Upload Reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-reports path: app/build/reports - name: Upload APK - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: app/build/outputs/apk/debug/app-debug.apk diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 591ec65..25bb799 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup build tool version variable shell: bash @@ -40,7 +40,7 @@ jobs: run: ./gradlew check - name: Upload Reports if not tag - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: startsWith(github.ref, 'refs/tags/') == false with: name: test-reports