Skip to content

수정안했지만 테스트용 #4

수정안했지만 테스트용

수정안했지만 테스트용 #4

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ main ]
env:
AWS_REGION: ap-northeast-2
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Check out source code
uses: actions/checkout@v2
- name: JDK 17 setup
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
- name: gradlew chmod
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew clean build -x test
- name: AWS credential setting
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: ${{ env.AWS_REGION }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}