Skip to content

[infra]: stg 환경 배포 환경 구축 및 자동화 (ECS + EC2) #6

[infra]: stg 환경 배포 환경 구축 및 자동화 (ECS + EC2)

[infra]: stg 환경 배포 환경 구축 및 자동화 (ECS + EC2) #6

Workflow file for this run

name: Build Test
on:
pull_request:
branches: [ "dev" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- 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: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :bootstrap:build