Skip to content

Commit

Permalink
Chore :: Edit CI Trigger Rules
Browse files Browse the repository at this point in the history
  • Loading branch information
seu1a authored Oct 11, 2024
1 parent 4a1ff65 commit 6ca33d2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: CI for seugi-server

on:
push:
branches: ["main"]
branches-ignore:
- main
pull_request:
branches-ignore:
- main

permissions:
contents: read
Expand All @@ -15,13 +19,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up JDK 21
- name: Set up Temurin JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'

- name: Gradle Caching
- name: Load gradle cache
uses: actions/cache@v3
with:
path: |
Expand All @@ -31,5 +35,5 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
- name: Build without test
run: ./gradlew clean build -x test

0 comments on commit 6ca33d2

Please sign in to comment.