Skip to content

Merge pull request #3 from GSM-MSG/feature/change-server-url #7

Merge pull request #3 from GSM-MSG/feature/change-server-url

Merge pull request #3 from GSM-MSG/feature/change-server-url #7

Workflow file for this run

name: Android CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup JDK 11
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 11
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Cache Gradle Packages
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{runner.os}}-gradle-${{hashFiles('**/*.gradle*', '**/gradle-wrapper.properties')}}
restore-keys: |
${{runner.os}}-gradle-
- name: Build with Gradle
run: ./gradlew build
- name: SMS Android CI Discord Notification
uses: sarisia/actions-status-discord@v1
if: ${{ success() }}
with:
title: ✅ GAuth-Android-CI 성공! ✅
webhook: ${{ secrets.GAUTH_DISCORD_WEBHOOK }}
color: 00FF00
- name: SMS Android CI Discord Notification
uses: sarisia/actions-status-discord@v1
if: ${{ failure() }}
with:
title: ❗️ GAuth-Android-CI 실패! ❗️
webhook: ${{ secrets.GAUTH_DISCORD_WEBHOOK }}
color: FF0000