Skip to content

Commit

Permalink
Update gradle.yml: CI 테스트 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jjongwa authored Jul 24, 2023
1 parent e5e5279 commit 92549ab
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,30 @@
# 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: [ "develop" ]
pull_request:
branches: [ "develop" ]
branches: [ main, develop ]

defaults:
run:
working-directory: backend

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:

- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'coretto'
distribution: 'corretto'

- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: clean build
run: ./gradlew build

0 comments on commit 92549ab

Please sign in to comment.