Skip to content

Run CI on trunk

Run CI on trunk #10

Workflow file for this run

name: CI
on:
push:
branches:
- trunk
paths-ignore:
- '.idea/**'
- '.gitattributes'
- '.github/**.json'
- '.gitignore'
- '**.md'
- 'LICENSE'
- 'NOTICE'
pull_request:
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@v3
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
dependency-graph: ${{ github.ref == 'refs/heads/release' && 'generate-and-submit' || 'disabled'}}
gradle-home-cache-cleanup: true
- run: ./gradlew assembleLawnWithQuickstepRelease
- uses: actions/upload-artifact@v3
if: github.ref == 'refs/heads/release' && github.event_name == 'push'
with:
name: Release APK
path: |
build/outputs/apk/lawnWithQuickstep/release/*.apk
build/outputs/mapping/lawnWithQuickstepRelease/mapping.txt