Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

๐Ÿ”€ :: ci ๊ตฌ์ถ•ํ•˜๊ธฐ #12

Merged
merged 6 commits into from
Apr 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI

on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]

jobs:
CI:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Build with Gradle (without tests)
run: ./gradlew clean build -x test --no-daemon

- name: MindWay Server CI success Discord Notification
uses: sarisia/actions-status-discord@v1
if: ${{ success() }}
with:
title: โœ… MindWay Server CI success โœ…
webhook: ${{ secrets.DISCORD_WEBHOOK_BOT }}
color: 00FF00

- name: MindWay Server CI failed Discord Notification
uses: sarisia/actions-status-discord@v1
if: ${{ failure() }}
with:
title: โŒ MindWay Server CI failed โŒ
webhook: ${{ secrets.DISCORD_WEBHOOK_BOT }}
color: FF0000
Loading