Skip to content

Jenkins CI to GH actions #4

Jenkins CI to GH actions

Jenkins CI to GH actions #4

Workflow file for this run

name: Android-ci
on:
push:
branches:
- "*"
pull_request:
branches:
- master
env:
ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
API_KEY: ${{ secrets.API_KEY }}
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker://fabernovel/android:api-29-v1.1.0
steps:
- uses: actions/checkout@v4
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew dependencies
- name: Test
run: ./gradlew test