-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 988 Bytes
/
android.yml
File metadata and controls
40 lines (34 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Android CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build
# - name: Build success
# uses: bryan-nice/slack-notification@master
# if: success()
# env:
# SLACK_TITLE: "Build succeeded! ✅"
# SLACK_MESSAGE: |
# Check the CI logs <https://github.com/martapanc/ItalianFiscalCodeCalculatorApp/actions|here>.
#
# - name: Build failure
# uses: bryan-nice/slack-notification@master
# if: failure()
# env:
# SLACK_TITLE: "Build failed! 🔴"
# SLACK_MESSAGE: |
# Check the CI logs <https://github.com/martapanc/ItalianFiscalCodeCalculatorApp/actions|here>.