Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build Check

on:
pull_request:
branches:
- main

concurrency:
group: build-check-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Verify build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
cache: gradle

- name: Prepare local properties
env:
LOCAL_PROPERTIES_BASE64: ${{ secrets.LOCAL_PROPERTIES_BASE64 }}
run: |
if [ -n "$LOCAL_PROPERTIES_BASE64" ]; then
printf '%s' "$LOCAL_PROPERTIES_BASE64" | base64 --decode > local.properties
fi

- name: Create CI keystore
run: |
keytool -genkeypair -keystore arvio.jks -alias arvio \
-keyalg RSA -keysize 2048 -validity 1 \
-dname "CN=CI" -storepass 815787 -keypass 815787

- name: Build
run: ./gradlew assembleSideloadDebug --no-daemon
Loading