Skip to content

#10 Add github actions #1

#10 Add github actions

#10 Add github actions #1

Workflow file for this run

name: Build and Test
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 18
uses: actions/setup-java@v2
with:
java-version: '18'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Test with Gradle
run: ./gradlew test
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: build/outputs/apk/release