Skip to content

Setting: Elastic beanstalk 설정 (#65) #42

Setting: Elastic beanstalk 설정 (#65)

Setting: Elastic beanstalk 설정 (#65) #42

Workflow file for this run

name: CI
on:
push:
branches: ["develop"]
permissions:
contents: read
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.ACTION_TOKEN }}
submodules: recursive
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
# gradle caching - 빌드 시간 향상
- 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: Login to ghcr
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# gradle build
- name: Build with Gradle
run: |
chmod +x gradlew
./gradlew build