1
0
mirror of https://github.com/ouchadam/small-talk.git synced 2025-03-01 02:17:53 +01:00
Adam Brown e792264b3c Merge pull request from ouchadam/ci
Adding CI pipelines for assembly and testing
2022-02-28 23:06:52 +00:00

36 lines
795 B
YAML

name: Assemble
on:
push:
branches:
- 'main'
pull_request:
jobs:
assemble-debug:
name: Assemble debug variant
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Assemble debug variant
run: ./gradlew assembleDebug --no-daemon