Skip to content

Merge remote-tracking branch 'origin/upstream' into trunk #92

Merge remote-tracking branch 'origin/upstream' into trunk

Merge remote-tracking branch 'origin/upstream' into trunk #92

Workflow file for this run

name: CI
on:
push:
branches:
- trunk
paths-ignore:
- '.idea/**'
- '.gitattributes'
- '.github/**.json'
- '.gitignore'
- '**.md'
- 'LICENSE'
- 'NOTICE'
pull_request:
branches:
- trunk
paths-ignore:
- '.idea/**'
- '.gitattributes'
- '.github/**.json'
- '.gitignore'
- '**.md'
- 'LICENSE'
- 'NOTICE'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
- uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: Da25KUVSE5jbGds2zXmfXw==
gradle-home-cache-cleanup: true
- run: ./gradlew assembleLawnWithQuickstepRelease
- uses: actions/upload-artifact@v4
if: github.ref == 'refs/heads/trunk' && github.event_name == 'push'
with:
name: Release APK
path: |
build/outputs/apk/lawnWithQuickstep/release/*.apk
build/outputs/mapping/lawnWithQuickstepRelease/mapping.txt
check-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- run: ./gradlew spotlessCheck