Skip to content

feat : 기본 Ci 설정 #2

feat : 기본 Ci 설정

feat : 기본 Ci 설정 #2

Workflow file for this run

name: ShowPot-CI
on:
pull_request:
branches: [ "develop" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'liberica'
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Build with Gradle Wrapper
run: ./gradlew clean build
- name: Discord Message
if: success()
uses: discord-actions/message@v2
with:
webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }}
message: "<@1084774841460215839> <@281597829636423682> ShoPot 이슈 혹은 PR을 확인해주세요!"
username: GitHub Actions Bot
avatar: ${{ secrets.DISCORD_AVATAR_URL }}