Skip to content

Merge branch 'feat/ci-cd' of github.com:KUSITMS-29th-TEAM-B/Backend i… #6

Merge branch 'feat/ci-cd' of github.com:KUSITMS-29th-TEAM-B/Backend i…

Merge branch 'feat/ci-cd' of github.com:KUSITMS-29th-TEAM-B/Backend i… #6

Workflow file for this run

name: CI-dev
on:
push:
branches:
- feat/ci-cd
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
- 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 build
./gradlew bootJar