Feat#39 S3를 이용한 이미지 업로드 기능 구현 #55
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 Pipeline | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
types: [ opened, synchronize, reopened ] | |
concurrency: | |
group: xclone-dev-ci | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: "corretto" | |
- name: Create application.properties from secret | |
run: | | |
mkdir -p src/main/resources | |
echo "${{ secrets.APPLICATION_PROPERTIES }}" | base64 --decode > src/main/resources/application.properties | |
- name: Gradle Build | |
run: | | |
chmod +x ./gradlew | |
./gradlew clean build test |