Skip to content

[이미지 리사이즈] #220

[이미지 리사이즈]

[이미지 리사이즈] #220

Workflow file for this run

name: Docker Build 🚀
on:
push:
branches: [ "develop", "feature/**", "**/feature/**" ]
workflow_dispatch:
jobs:
gradle:
name: Gradle Test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: make application-hidden.yaml
run: |
cd ./src/main/resources
touch ./application-hidden.yaml
echo "${{ secrets.hidden }}" >> ./application-hidden.yaml
shell: bash
- name: Cache Gradle packages
uses: actions/cache@v2 # Gradle dependency 캐싱 설정(테스트 속도 향상)
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Test with Gradle
run: SPRING_PROFILES_ACTIVE=dev ./gradlew test
- name: Build with Gradle
run: ./gradlew build -x test