Skip to content

Commit

Permalink
Merge pull request #34 from eighthave/github-actions
Browse files Browse the repository at this point in the history
add GitHub Actions to run CI build
  • Loading branch information
eighthave authored Oct 7, 2024
2 parents c73a419 + 5ebed16 commit 62d582b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Android CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Build with Gradle
run: |
mkdir -p "$ANDROID_HOME/licenses"
printf "\n8933bad161af4178b1185d1a37fbf41ea5269c55\n" >> "$ANDROID_HOME/licenses/android-sdk-license"
printf "\nd56f5187479451eabf01fb78af6dfcb131a6481e\n" >> "$ANDROID_HOME/licenses/android-sdk-license"
printf "\n24333f8a63b6825ea9c5514f83c2829b004d1fee\n" >> "$ANDROID_HOME/licenses/android-sdk-license"
./gradlew build

0 comments on commit 62d582b

Please sign in to comment.