Skip to content

ubuntu-24.04 に変更する #457

ubuntu-24.04 に変更する

ubuntu-24.04 に変更する #457

Workflow file for this run

name: Build
on:
push:
paths-ignore:
- 'README.md'
- 'CHANGES.md'
- 'LICENSE'
- 'THANKS'
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'
cache: 'gradle'
- name: Copy gradle.properties
run: cp gradle.properties.example gradle.properties
- name: Build with Gradle
run: ./gradlew build
- name: Lint Check
run: ./gradlew ktlintCheck
- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: sora-android-sdk
SLACK_COLOR: danger
SLACK_TITLE: Build failed
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}