Skip to content

Commit

Permalink
Add a build only CI for now (#6)
Browse files Browse the repository at this point in the history
If sdk build fail, auto block pull request.
  • Loading branch information
tom-quiltt authored Jan 18, 2024
1 parent 0c7b931 commit 99c2520
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on: push

jobs:
build:
name: Release build and publish
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
# Read https://whichjdk.com/#tldr to understand the difference between different distributions
# MacOS might be running openjdk 17 (https://whichjdk.com/#apple-silicon) but we want to run the latest LTS on Linux
distribution: temurin
java-version: 21

# Generate AAR and POM files
- name: Release build
run: ./gradlew assembleRelease

0 comments on commit 99c2520

Please sign in to comment.