[BE] 같은 스터디 진행 이후 다른 멤버 스터디 기록이 조회되지 않는 오류 수정 #569
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: backend-build-test | |
on: | |
pull_request: | |
branches: | |
- develop | |
types: [ opened, synchronize, reopened ] | |
defaults: | |
run: | |
working-directory: ./backend | |
jobs: | |
build-test: | |
# label이 (BE && feature) || (BE && refactor)일 경우 실행 | |
if: | | |
(contains(github.event.pull_request.labels.*.id, 5681136383) && | |
contains(github.event.pull_request.labels.*.id, 5681142648)) || | |
(contains(github.event.pull_request.labels.*.id, 5681136383) && | |
contains(github.event.pull_request.labels.*.id, 5681143873)) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
- name: Build Test | |
run: ./gradlew build | |
- name: action-slack | |
uses: 8398a7/action-slack@v3 | |
with: | |
status: ${{ job.status }} | |
author_name: Github Action # default: 8398a7@action-slack | |
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required | |
if: always() |