From e57881b4e20362922711ecfac36bff2f7d204534 Mon Sep 17 00:00:00 2001 From: Lee seung hak <90025978+leeseunghakhello@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:24:46 +0900 Subject: [PATCH] Create github-actions.yml --- .github/workflows/github-actions.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/github-actions.yml diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml new file mode 100644 index 00000000..cf3e6bb8 --- /dev/null +++ b/.github/workflows/github-actions.yml @@ -0,0 +1,28 @@ +# github repository Actions 페이지에 나타낼 이름 +name: CI/CD + +# event trigger +on: + push: + branches: + - main + - develop + +permissions: + contents: read + +jobs: + CI-CD: + 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: Build with Gradle + uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0 + with: + arguments: build