mobile-application/.github/workflows/build.yaml
Ben Martin db7e1b1057
Some checks failed
Build / build (pull_request) Failing after 2m14s
feat: add CI build and release workflows
This commit introduces two new GitHub Actions workflows:
- `build.yaml`: Configures a workflow for building the project on pushes to the `master` branch and on pull requests.
- `release.yaml`: Configures a workflow for releasing the project on tagged pushes, specifically for tags starting with 'v'. It builds the project, releases it using Gradle, and uploads the generated APK artifacts.
2025-01-20 23:58:18 +00:00

24 lines
405 B
YAML

name: Build
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Build with Gradle
run: ./gradlew composeApp:buildDebug