Skip to content

Update android.yml

Update android.yml #15

Workflow file for this run

name: Android CI
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup AdoptOpenJDK
uses: actions/setup-java@v3.3.0
with:
distribution: 'adopt'
java-version: '17'
cache: 'gradle'
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build
run: ./gradlew assemble
- name: Publish library
run: ./gradlew spid:publish -PGITHUB_USER=${{ secrets.GITHUB_USER }} -PGITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}