✨ [STMT-168] 스터디 삭제 api 및 s3에 저장된 관련 파일 삭제 기능 구현 #114
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: CI triggered by PR | |
on: | |
pull_request: | |
branches: | |
- dev | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Set environment variables | |
run: | | |
cd ./src/test/resources | |
echo "${{ secrets.ENV }}" > ./application-secret.properties | |
- name: Gradle Caching | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: test | |
run: | | |
chmod +x gradlew | |
./gradlew test |